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
     

14 May, 2015

1 commit

  • All the Tegra boards borrow the files from board/nvidia/common/
    directory, i.e., board/nvidia/common/* are not vendor-common files,
    but SoC-common files.

    Move NVIDIA common files to arch/arm/mach-tegra/ to clean up
    Makefiles.

    As arch/arm/mach-tegra/board.c already exists, this commit renames
    board/nvidia/common/board.c to arch/arm/mach-tegra/board2.c,
    expecting they will be consolidated as a second step.

    Signed-off-by: Masahiro Yamada
    Acked-by: Marcel Ziswiler
    Cc: Stephen Warren
    Cc: Tom Warren
    Cc: Simon Glass
    Acked-by: Simon Glass
    Signed-off-by: Tom Warren

    Masahiro Yamada
     

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

  • Becuase the board select menu in arch/arm/Kconfig is too big,
    move the Tegra board select menu to tegra/Kconfig.

    Insert the Tegra SoC select menu between the arch select and the
    board select.

    Architecture select
    |-- Tegra Platform (Tegra)
    |- Tegra SoC select (Tegra20 / 30 / 114 / 124)
    |- Board select

    Consolidate also common settings (CONFIG_SYS_CPU="armv7" and
    CONFIG_SYS_SOC="tegra*") and always "select" CONFIG_SPL as follows:

    config TEGRA
    bool
    select SPL

    Signed-off-by: Masahiro Yamada
    Acked-by: Stephen Warren
    Cc: Tom Warren

    Masahiro Yamada
     

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
     

20 Feb, 2014

1 commit

  • This commit changes the working directory
    where the build process occurs.

    Before this commit, build process occurred under the source
    tree for both in-tree and out-of-tree build.

    That's why we needed to add $(obj) prefix to all generated
    files in makefiles like follows:
    $(obj)u-boot.bin: $(obj)u-boot

    Here, $(obj) is empty for in-tree build, whereas it points
    to the output directory for out-of-tree build.

    And our old build system changes the current working directory
    with "make -C " syntax when descending into the
    sub-directories.

    On the other hand, Kbuild uses a different idea
    to handle out-of-tree build and directory descending.

    The build process of Kbuild always occurs under the output tree.
    When "O=dir/to/store/output/files" is given, the build system
    changes the current working directory to that directory and
    restarts the make.

    Kbuild uses "make -f $(srctree)/scripts/Makefile.build obj="
    syntax for descending into sub-directories.
    (We can write it like "make $(obj)=" with a shorthand.)
    This means the current working directory is always the top
    of the output directory.

    Signed-off-by: Masahiro Yamada
    Tested-by: Gerhard Sittig

    Masahiro Yamada
     

18 Nov, 2013

1 commit


01 Nov, 2013

1 commit


24 Jul, 2013

1 commit


30 Oct, 2012

1 commit

  • For Non-Nvidia boards to include newly added features (like emc clock
    scaling) it would be necessary to add each feature to their own board
    Makefile. This is because currently the top Makefile automaticly includes
    these features only for Nvidia boards.

    This patch adds a simple Makefile include so all new features become
    available for non-Nvidia board vendors.

    Cc: Stephen Warren
    Cc: Tom Warren
    Cc: Thierry Reding
    Cc: Lucas Stach
    Signed-off-by: Marc Dietrich
    Acked-by: Stephen Warren
    Acked-by: Thierry Reding
    Signed-off-by: Tom Warren

    Marc Dietrich
     

01 Sep, 2012

1 commit

  • Change the mkdir commands for the object directories to be
    unconditional. This fixes an issue when building for SPL where
    SRCTREE and OBJTREE are the same, but $(obj) is under SPLTREE.

    Signed-off-by: Allen Martin
    Acked-by: Stephen Warren
    Tested-by: Thierry Reding
    Signed-off-by: Tom Warren

    Allen Martin
     

10 Jul, 2012

1 commit

  • This commit uses the common Tegra board implementation instead of
    duplicating a lot of the code. In addition, the Plutux and Medcom
    specific board files can be removed as the MMC/SD setup is common
    among all Tamonten-based boards.

    Signed-off-by: Thierry Reding
    Acked-by: Stephen Warren
    Signed-off-by: Tom Warren

    Thierry Reding
     

24 Dec, 2011

1 commit

  • The Plutux is a set-top box device based on the Tamonten processor
    module. It can be connected to a display via an HDMI output.

    Changes in v3:
    * Remove unused implementation of gpio_config_uart().
    * Implement MMC/SD card detection.
    * Drop board_mmc_getcd() which is now implemented by common Tegra2
    code.
    * Add MAINTAINERS entry.

    Changes in v2:
    * No longer override the default CONFIG_SYS_TEXT_BASE setting.

    Signed-off-by: Thierry Reding
    Acked-by: Simon Glass
    Signed-off-by: Tom Warren

    Thierry Reding