24 Oct, 2019

4 commits


12 Aug, 2019

1 commit


19 Feb, 2019

1 commit

  • Before the patch scsi would report the same device number for all SCSI
    devices, e.g.

    Device 0: (1:0) Vendor: ATA Prod.: Crucial_CT128M55 Rev: MU01
    Type: Hard Disk
    Capacity: 122104.3 MB = 119.2 GB (250069680 x 512)
    Device 0: (1:0) Vendor: ATA Prod.: Rev:
    Type: Hard Disk
    Capacity: not available

    With the patch the same device number is reported as is used in
    scsi_read():

    Device 0: (1:0) Vendor: ATA Prod.: Crucial_CT128M55 Rev: MU01
    Type: Hard Disk
    Capacity: 122104.3 MB = 119.2 GB (250069680 x 512)
    Device 1: (1:0) Vendor: ATA Prod.: Rev:
    Type: Hard Disk
    Capacity: not available

    Signed-off-by: Heinrich Schuchardt

    Heinrich Schuchardt
     

15 Nov, 2018

1 commit

  • part_init() is currently called in every DM BLK driver, either
    in its bind() or probe() method. However we can use the BLK
    uclass driver's post_probe() method to do it automatically.

    Update all DM BLK drivers to adopt this change.

    Signed-off-by: Bin Meng
    Reviewed-by: Simon Glass

    Bin Meng
     

11 Sep, 2018

1 commit

  • In int-ll64.h, we always use the following typedefs:

    typedef unsigned int u32;
    typedef unsigned long uintptr_t;
    typedef unsigned long long u64;

    This does not need to match to the compiler's .
    Do not include it.

    The use of PRI* makes the code super-ugly. You can simply use
    "l" for printing uintptr_t, "ll" for u64, and no modifier for u32.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

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
     

09 Feb, 2018

1 commit

  • config_fallbacks.h has some logic that sets HAVE_BLOCK_DEVICE
    based on a list of enabled options. Moving HAVE_BLOCK_DEVICE to
    Kconfig allows us to drastically shrink the logic in
    config_fallbacks.h

    Signed-off-by: Adam Ford
    [trini: Rename HAVE_BLOCK_DEVICE to CONFIG_BLOCK_DEVICE]
    Signed-off-by: Tom Rini

    Adam Ford
     

12 Sep, 2017

1 commit


16 Aug, 2017

1 commit


01 Aug, 2017

1 commit

  • At present if U-Boot proper uses driver model for MMC, then SPL has to
    also. While this is desirable, it places a significant barrier to moving
    to driver model in some cases. For example, with a space-constrained SPL
    it may be necessary to enable CONFIG_SPL_OF_PLATDATA which involves
    adjusting some drivers.

    Add new SPL versions of the options for DM_MMC, DM_MMC_OPS and BLK. By
    default these follow their non-SPL versions, but this can be changed by
    boards which need it.

    Signed-off-by: Simon Glass

    Simon Glass
     

12 Jul, 2017

11 commits