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
     

26 Jul, 2016

1 commit

  • A feasible way to communicate certain errors for devices that have no
    other way of signalling besides LEDs is to flash these LEDs. For errors
    in U-Boot, a script that utilizes the led and sleep commands would be a
    practicable way, but currently the sleep command can only delay for an
    integral amount of seconds, which is too slow to create an easily
    noticeable pattern for flashing LEDs.

    Therefore, this patch adds support for fractions (down to .001 seconds)
    to the sleep command.

    The parsing is kept minimal, simplistic and as robust as possible: After
    converting the passed string using simple_strtoul and multiplying it
    with 1000, we search for the first dot, convert the three characters
    after that into a number (if they are not numbers, we ignore the
    fractional part and just use the delay we got from simple_strtoul), and
    add this number to the delay.

    Signed-off-by: Mario Six

    mario.six@gdsys.cc
     

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