24 Jul, 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
     

05 Mar, 2018

1 commit

  • Thomas reported U-Boot failed to build host tools if libfdt-devel
    package is installed because tools include libfdt headers from
    /usr/include/ instead of using internal ones.

    This commit moves the header code:
    include/libfdt.h -> include/linux/libfdt.h
    include/libfdt_env.h -> include/linux/libfdt_env.h

    and replaces include directives:
    #include -> #include
    #include -> #include

    Reported-by: Thomas Petazzoni
    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

09 Dec, 2016

1 commit

  • It is useful to name each method so that we can print out this name when
    using the method. Currently this happens using a separate function. In
    preparation for unifying this, add a name to each method.

    The name is only available if we have libcommon support (i.e can use
    printf()).

    Signed-off-by: Simon Glass

    Simon Glass
     

29 Nov, 2016

1 commit


07 Oct, 2016

5 commits


28 May, 2016

1 commit


17 May, 2016

1 commit


19 Nov, 2015

1 commit

  • Make spl_*_load_image() functions return a value instead of
    hanging if a problem is encountered. This enables main spl code
    to make the decision whether to hang or not, thus preparing
    it to support alternative boot devices.

    Some boot devices (namely nand and spi) do not hang on error.
    Instead, they return normally and SPL proceeds to boot the
    contents of the load address. This is considered a bug and
    is rectified by hanging on error for these devices as well.

    Signed-off-by: Nikita Kiryanov
    Cc: Igor Grinberg
    Cc: Tom Rini
    Cc: Simon Glass
    Cc: Ian Campbell
    Cc: Hans De Goede
    Cc: Albert Aribaud
    Cc: Jagan Teki
    Reviewed-by: Tom Rini
    Reviewed-by: Simon Glass

    Nikita Kiryanov
     

24 Jul, 2013

1 commit


28 Sep, 2012

1 commit

  • Add a new flag, CONFIG_SPL_FRAMEWORK to opt into the common/spl SPL
    framework, enable on all of the previously using boards. We move the
    spl_ymodem.c portion to common/ and spl_mmc.c to drivers/mmc/. We leave
    the NAND one in-place as we plan to replace it later in this series.

    We use common/spl to avoid linker problems with respect to merging
    constant strings in objects. Otherwise all strings in common/ will be
    linked in and kept which grows SPL in size too much.

    Signed-off-by: Tom Rini

    Tom Rini