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 Apr, 2018

1 commit

  • In order that we can use eth_env_* even when CONFIG_NET isn't set, move
    these functions to environment code from net code.

    This fixes failures such as:

    board/ti/am335x/built-in.o: In function `board_late_init':
    board/ti/am335x/board.c:752: undefined reference to `eth_env_set_enetaddr'
    u-boot/board/ti/am335x/board.c:766: undefined reference to `eth_env_set_enetaddr'

    which caters for use cases such as:

    commit f411b5cca48f ("board: am335x: Always set eth/eth1addr environment
    variable")

    when Ethernet is required in Linux, but not U-Boot.

    Signed-off-by: Alex Kiernan

    Alex Kiernan
     

16 Aug, 2017

2 commits


28 May, 2015

1 commit

  • arm: + lsxhl
    w+board/buffalo/lsxl/lsxl.c: In function 'rescue_mode':
    w+board/buffalo/lsxl/lsxl.c:230:8: warning: unused variable 'enetaddr' [-Wunused-variable]
    arm: + lschlv2
    w+board/buffalo/lsxl/lsxl.c: In function 'rescue_mode':
    w+board/buffalo/lsxl/lsxl.c:230:8: warning: unused variable 'enetaddr' [-Wunused-variable]

    Remove the unused variable.

    Signed-off-by: Joe Hershberger

    Joe Hershberger
     

21 May, 2015

1 commit

  • Remove the calls to net_random_ethaddr() that some boards and some
    drivers are calling. This is now implemented inside of net/eth.c

    Enable the feature for all boards that previously enabled it.

    Signed-off-by: Joe Hershberger
    Acked-By: Michael Walle (for the lsxl board part)

    Series-changes: 2
    -Fixed bfin build errors

    Joe Hershberger
     

19 Apr, 2015

1 commit


16 Feb, 2015

1 commit

  • The README describes the recovery method which can be used if the NAS box
    is not reachable anymore. Addionally, it describes the different boot
    scripts.

    Signed-off-by: Michael Walle

    Michael Walle
     

23 Oct, 2014

4 commits


14 Sep, 2014

1 commit

  • Now the types of CONFIG_SYS_{ARCH, CPU, SOC, VENDOR, BOARD, CONFIG_NAME}
    are specified in arch/Kconfig.

    We can delete the ones in arch and board Kconfig files.

    This commit can be easily reproduced by the following command:

    find . -name Kconfig -a ! -path ./arch/Kconfig | xargs sed -i -e '
    /config[[:space:]]SYS_\(ARCH\|CPU\|SOC\|\VENDOR\|BOARD\|CONFIG_NAME\)/ {
    N
    s/\n[[:space:]]*string//
    }
    '

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

31 Aug, 2014

1 commit


30 Jul, 2014

2 commits

  • We have switched to Kconfig and the boards.cfg file is going to
    be removed. We have to retrieve the board status and maintainers
    information from it.

    The MAINTAINERS format as in Linux Kernel would be nice
    because we can crib the scripts/get_maintainer.pl script.

    After some discussion, we chose to put a MAINTAINERS file under each
    board directory, not the top-level one because we want to collect
    relevant information for a board into a single place.

    TODO:
    Modify get_maintainer.pl to scan multiple MAINTAINERS files.

    Signed-off-by: Masahiro Yamada
    Suggested-by: Tom Rini
    Acked-by: Simon Glass

    Masahiro Yamada
     
  • This commit adds:
    - arch/${ARCH}/Kconfig
    provide a menu to select target boards
    - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig
    set CONFIG macros to the appropriate values for each board
    - configs/${TARGET_BOARD}_defconfig
    default setting of each board

    (This commit was automatically generated by a conversion script
    based on boards.cfg)

    In Linux Kernel, defconfig files are located under
    arch/${ARCH}/configs/ directory.
    It works in Linux Kernel since ARCH is always given from the
    command line for cross compile.

    But in U-Boot, ARCH is not given from the command line.
    Which means we cannot know ARCH until the board configuration is done.
    That is why all the "*_defconfig" files should be gathered into a
    single directory ./configs/.

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

    Masahiro Yamada
     

13 May, 2014

1 commit

  • Some functions in include/net.h are ported from
    include/linux/etherdevice.h of Linux Kernel.

    For ex.
    is_zero_ether_addr()
    is_multicast_ether_addr()
    is_broadcast_ether_addr()
    is_valid_ether_addr();

    So, we should use the same function name as that of Linux Kernel,
    eth_rand_addr(), for consistency.

    Besides, eth_rand_addr() has been implemented as an inline function.
    So it should not be surrounded by #ifdef CONFIG_RANDOM_MACADDR.

    Signed-off-by: Masahiro Yamada
    Acked-by: Joe Hershberger

    Masahiro Yamada
     

01 Nov, 2013

1 commit


24 Jul, 2013

1 commit


10 May, 2013

1 commit

  • Many boot image configuration files refer to the
    appropriate documentation file, but these references
    contain typos in the directory and file name. Fix
    them. Also fix reference to doc/README.SPL file.

    Signed-off-by: Anatolij Gustschin
    Cc: Prafulla Wadaskar
    Cc: Stefano Babic
    Acked-by: Stefano Babic

    Anatolij Gustschin
     

09 Jan, 2013

2 commits

  • Instead of using the serverip we get from the DHCP server, implicitly use
    the broadcast address, which is automatically set when no ncip environment
    variable is set. That way it isn't necessary to use a special DHCP
    configuration to set the netconsole peer.

    Signed-off-by: Michael Walle
    Cc: Prafulla Wadaskar

    Michael Walle
     
  • This saves stack and code memory for local copy, and
    consumes initialized data memory. For 22 of the 29
    kirkwood-based boards, this results in a global saving
    of about 30 bytes. For 7 of them, it results in an
    increase of 6 to 14 bytes.

    Signed-off-by: Albert ARIBAUD

    Albert ARIBAUD
     

03 Oct, 2012

1 commit


03 Sep, 2012

1 commit

  • This patch restores the Linkstation's original behaviour when powering off.
    Once the (soft) power switch is turned off, linux will reboot and the
    bootloader turns off HDD and USB power. Then it loops as long as the switch
    is in the off position, before continuing the boot process again.

    Additionally, this patch fixes the board function set_led(LED_OFF).

    Signed-off-by: Michael Walle
    Cc: Prafulla Wadaskar

    Michael Walle
     

07 Jul, 2012

1 commit