06 Feb, 2020

1 commit

  • At present dm/device.h includes the linux-compatible features. This
    requires including linux/compat.h which in turn includes a lot of headers.
    One of these is malloc.h which we thus end up including in every file in
    U-Boot. Apart from the inefficiency of this, it is problematic for sandbox
    which needs to use the system malloc() in some files.

    Move the compatibility features into a separate header file.

    Signed-off-by: Simon Glass

    Simon Glass
     

07 Oct, 2019

1 commit

  • With the patch below applied, host_block_dev structure was switched
    to be placed in platdata rather than priv. The command "host info"
    must be aligned with this change. Otherwise, we will see "Segmentation
    Fault."

    Fixes: 8f994c860d91 ("sandbox: blk: Switch to use platdata_auto_alloc_size for the driver data")
    Signed-off-by: AKASHI Takahiro
    Reviewed-by: Bin Meng
    Tested-by: Bin Meng
    Reviewed-by: Heinrich Schuchardt

    AKASHI Takahiro
     

26 Nov, 2018

1 commit


07 May, 2018

1 commit

  • When U-Boot started using SPDX tags we were among the early adopters and
    there weren't a lot of other examples to borrow from. So we picked the
    area of the file that usually had a full license text and replaced it
    with an appropriate SPDX-License-Identifier: entry. Since then, the
    Linux Kernel has adopted SPDX tags and they place it as the very first
    line in a file (except where shebangs are used, then it's second line)
    and with slightly different comment styles than us.

    In part due to community overlap, in part due to better tag visibility
    and in part for other minor reasons, switch over to that style.

    This commit changes all instances where we have a single declared
    license in the tag as both the before and after are identical in tag
    contents. There's also a few places where I found we did not have a tag
    and have introduced one.

    Signed-off-by: Tom Rini

    Tom Rini
     

20 Jan, 2017

1 commit


24 Sep, 2016

1 commit


19 Sep, 2016

1 commit

  • This complements the size/fatsize/ext4size commands added in
    commit cf6598193aed5de8855eaf70c1994f2bc437255a
    load, save and ls are already implemented for hostfs, now tests can
    cover the same operations on hostfs and emulated block devices.

    Signed-off-by: Stefan Brüns
    Acked-by: Simon Glass

    Stefan Brüns
     

15 Mar, 2016

2 commits


25 Jan, 2016

1 commit

  • Now that they are in their own directory, we can remove this prefix.
    This makes it easier to find a file since the prefix does not get in the
    way.

    Signed-off-by: Simon Glass
    Reviewed-by: Bin Meng
    Reviewed-by: Heiko Schocher
    Acked-by: Stefan Roese
    Acked-by: Przemyslaw Marczak

    Simon Glass