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
     

29 Nov, 2016

2 commits


13 Aug, 2015

1 commit

  • Allow showing custom board info from a checkboard() function being
    implemented if CONFIG_CUSTOM_BOARDINFO is specified. Previously the
    device tree model was always displayed not taking any
    CONFIG_CUSTOM_BOARDINFO into account.

    Signed-off-by: Marcel Ziswiler
    Reviewed-by: Simon Glass

    Marcel Ziswiler
     

05 Aug, 2015

1 commit


28 Jul, 2015

1 commit

  • In case of enable CONFIG_OF_CONTROL and has a "model" property in the root node,
    the board special "checkboard" will not be called.
    Usually we show some useful version information in the function.
    This patch enable call "checkboard" in any case.
    It is not conflicting with showing "model" at the same time.

    For example on LS2085AQDS:
    Showing "model" only:
    Model: Freescale Layerscape 2085a QDS Board

    Showing "checkboard" only:
    Board: LS2085E-QDS, Board Arch: V1, Board version: B, boot from vBank: 4

    Showing both:
    Model: Freescale Layerscape 2085a QDS Board
    Board: LS2085E-QDS, Board Arch: V1, Board version: B, boot from vBank: 4

    Signed-off-by: Haikun Wang
    Reviewed-by: Simon Glass

    Haikun.Wang@freescale.com
     

30 Jan, 2015

1 commit

  • The common/board_r.c has show_model_r() to display the model name
    if the DTB has a "model" property. It sounds useful to have a similar
    function in common/board_f.c too because most of the boards show
    their board name before relocation.

    Instead of implementing the same function in both common/board_f.c
    and common/board_r.c, let's split it up into common/show_board_info.c.

    Signed-off-by: Masahiro Yamada
    Acked-by: Simon Glass

    Masahiro Yamada