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
     

10 May, 2017

2 commits

  • Use uclass_first_device and uclass_next_device in order to avoid exceptions
    for drivers that aren't probed when cpu ops are requested.
    Improve code style and fix indentations.
    Fix incorrect line break when cpu info is not available.
    Remove unneeded brackets.

    Signed-off-by: Álvaro Fernández Rojas
    Reviewed-by: Simon Glass

    Álvaro Fernández Rojas
     
  • Commit 740d5d3 added two new features but only one feature name,
    which results in NULL prints when device_id feature is selected.

    Before:
    HG556a # cpu detail
    -1: cpu@0 BCM6358A1
    ID = 0, freq = 300 MHz: L1 cache, MMU, NULL
    Device ID 0x2a010
    -1: cpu@1 BCM6358A1
    ID = 1, freq = 300 MHz: L1 cache, MMU, NULL
    Device ID 0x2a010
    After:
    HG556a # cpu detail
    -1: cpu@0 BCM6358A1
    ID = 0, freq = 300 MHz: L1 cache, MMU, Device ID
    Device ID 0x2a010
    -1: cpu@1 BCM6358A1
    ID = 1, freq = 300 MHz: L1 cache, MMU, Device ID
    Device ID 0x2a010

    Signed-off-by: Álvaro Fernández Rojas
    Reviewed-by: Simon Glass
    Reviewed-by: Tom Rini

    Álvaro Fernández Rojas
     

17 Mar, 2016

1 commit


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