21 Feb, 2014

1 commit

  • Commit 5ab502cb gathered all device tree sources
    to arch/$(ARCH)/dts/.
    So tegra124-venice2.dts also must go to arch/arm/dts directory
    to build venice2 board.

    (Commit 5ab502cb had been posted before venice2 board support
    was merged. So an unvisible conflict happened.)

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

    Masahiro Yamada
     

20 Feb, 2014

2 commits

  • Unlike Linux Kernel, U-Boot historically had *.dts files under
    board/$(VENDOR)/dts/ and *.dtsi files under arch/$(ARCH)/dts/.

    I think arch/$(ARCH)/dts dicretory is a better location
    to store both *.dts and *.dtsi files.

    For example, before this commit, board/xilinx/dts directory
    had both Microblaze dts (microblaze-generic.dts) and
    ARM dts (zynq-*.dts), which are totally unrelated.

    This commit moves *.dts to arch/$(ARCH)/dts/ directories,
    allowing us to describe nicely mutiple DTBs generation in the next commit.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     
  • 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
     

04 Feb, 2014

3 commits

  • These are the board files for Venice2 (Tegra124), plus the AS3722 PMIC
    files. PMIC init will be moved to pmic_common_init later.

    This builds/boots on Venice2, SPI/MMC/USB/I2C all work. Audio, display
    and WB/LP0 are not supported yet.

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

    Tom Warren
     
  • These are fairly complete, and near-clones of Tegra114 Venice, with an
    additional I2C port, and MMC address changes for Tegra124.

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

    Tom Warren
     
  • __pinmux_nand() won't compile if PERIPH_ID_NDFLASH isn't defined.
    Prevent this from causing build problems on newer SoCs without NAND
    support (or without SW support for NAND yet), but preventing
    compilation unless the function will actually be used, i.e. when
    CONFIG_TEGRA_NAND is defined.

    Signed-off-by: Tom Warren
    [swarren, rewrote commit description, moved ifdef around whole function
    rather than just body]
    Signed-off-by: Stephen Warren
    Tested-by: Thierry Reding
    Signed-off-by: Tom Warren

    Tom Warren
     

25 Jan, 2014

1 commit

  • If timer_init() is made a weak stub function, then it allows us to
    remove several empty timer_init functions for those boards that
    already have a timer initialized when u-boot starts. Architectures
    that use the timer framework may also remove the need for timer.c.

    Signed-off-by: Darwin Rambo
    Reviewed-by: Tim Kryger

    Darwin Rambo
     

18 Nov, 2013

1 commit


01 Nov, 2013

2 commits


21 Oct, 2013

1 commit

  • This commit unifies board-specific USB initialization implementations
    under one symbol (usb_board_init), declaration of which is available in
    usb.h.

    New API allows selective initialization of USB controllers whenever needed.

    Signed-off-by: Mateusz Zalega
    Signed-off-by: Kyungmin Park
    Reviewed-by: Lukasz Majewski
    Cc: Marek Vasut
    Cc: Lukasz Majewski

    Mateusz Zalega
     

24 Jul, 2013

2 commits


23 Jul, 2013

1 commit


12 Jul, 2013

4 commits


29 May, 2013

1 commit


16 Apr, 2013

2 commits

  • Beaver is a Tegra30 board that is nearly 100% compatible w/Cardhu.
    Add a Beaver build so it can begin to be differentiated, if need be.

    Signed-off-by: Tom Warren
    Reviewed-by: Stephen Warren

    Tom Warren
     
  • As suggested by Stephen Warren, use tegra_get_chip() to return
    the pure CHIPID for a Tegra SoC (i.e. 0x20 for Tegra20, 0x30 for
    Tegra30, etc.) and rename tegra_get_chip_type() to reflect its true
    function, i.e. tegra_get_chip_sku(), which returns an ID like
    TEGRA_SOC_T25, TEGRA_SOC_T33, etc.

    Signed-off-by: Tom Warren
    Reviewed-by: Stephen Warren

    Tom Warren
     

26 Mar, 2013

7 commits


15 Mar, 2013

12 commits