[U-Boot] [PATCH 0/7] Add T30 Cardhu support

Tom Warren twarren.nvidia at gmail.com
Wed Oct 3 00:45:48 CEST 2012


This patch series adds basic (boot to cmd prompt) support for Tegra30.
This is based on the Tegra20 SPL, which inits the AVP (ARM7TDMI boot
proc) first, then control is transferred to the CPU (A9 quad core).
It is based on current u-boot-tegra/next.

Future patches will add support/drivers for MMC/USB/I2C/SPI/etc.
The Cardhu T30 board is supported initially.

./MAKEALL -a arm OK; checkpatch.pl is clean except for 1 bogus error
where it misread a string as a macro needing parens.

git format-patch -7 -M -C -C was used, to help show renames/copies.

Tom Warren (7):
  Tegra30: Add AVP (arm720t) files
  Tegra30: Add CPU (armv7) files
  Tegra30: Add common CPU (shared) files
  Tegra30: Add arch-tegra30 include files
  Tegra30: Cardhu: Add DT files
  Tegra30: Add generic Tegra30 build support
  Tegra30: Add/enable Cardhu build (T30 reference board)

 Makefile                                           |    6 +-
 arch/arm/cpu/arm720t/tegra-common/cpu.h            |   48 +-
 arch/arm/cpu/arm720t/tegra-common/spl.c            |    3 +-
 arch/arm/cpu/arm720t/tegra30/Makefile              |   41 +
 arch/arm/cpu/arm720t/tegra30/config.mk             |   19 +
 arch/arm/cpu/arm720t/tegra30/cpu.c                 |  516 +++++++++
 arch/arm/cpu/armv7/Makefile                        |    2 +-
 arch/arm/cpu/armv7/start.S                         |    4 +-
 arch/arm/cpu/armv7/tegra30/Makefile                |   40 +
 arch/arm/cpu/armv7/tegra30/config.mk               |   19 +
 arch/arm/cpu/tegra-common/ap.c                     |   22 +-
 arch/arm/cpu/tegra-common/board.c                  |   25 +-
 arch/arm/cpu/tegra-common/sys_info.c               |    5 +-
 arch/arm/cpu/tegra20-common/warmboot.c             |    2 +-
 arch/arm/cpu/tegra30-common/Makefile               |   44 +
 arch/arm/cpu/tegra30-common/clock.c                | 1092 ++++++++++++++++++++
 arch/arm/cpu/tegra30-common/funcmux.c              |   57 +
 arch/arm/cpu/tegra30-common/pinmux.c               |  501 +++++++++
 arch/arm/dts/tegra30.dtsi                          |   30 +
 arch/arm/include/asm/arch-tegra/ap.h               |   50 +-
 arch/arm/include/asm/arch-tegra/clk_rst.h          |  148 +++-
 arch/arm/include/asm/arch-tegra/clock.h            |    8 +-
 arch/arm/include/asm/arch-tegra/gp_padctrl.h       |   37 +
 arch/arm/include/asm/arch-tegra/tegra.h            |   11 +-
 arch/arm/include/asm/arch-tegra20/gp_padctrl.h     |   17 +-
 arch/arm/include/asm/arch-tegra30/clock-tables.h   |  378 +++++++
 arch/arm/include/asm/arch-tegra30/clock.h          |   24 +
 arch/arm/include/asm/arch-tegra30/emc.h            |  106 ++
 arch/arm/include/asm/arch-tegra30/flow.h           |   35 +
 arch/arm/include/asm/arch-tegra30/funcmux.h        |   47 +
 arch/arm/include/asm/arch-tegra30/gp_padctrl.h     |   59 ++
 arch/arm/include/asm/arch-tegra30/gpio.h           |  304 ++++++
 arch/arm/include/asm/arch-tegra30/hardware.h       |   22 +
 .../asm/arch-tegra30/pinmux-config-common.h        |  339 ++++++
 arch/arm/include/asm/arch-tegra30/pinmux.h         |  603 +++++++++++
 arch/arm/include/asm/arch-tegra30/pmu.h            |   23 +
 arch/arm/include/asm/arch-tegra30/tegra.h          |   26 +
 board/nvidia/cardhu/Makefile                       |   48 +
 board/nvidia/cardhu/cardhu.c                       |   25 +
 board/nvidia/common/board.c                        |   26 +-
 board/nvidia/dts/tegra30-cardhu.dts                |   35 +
 boards.cfg                                         |    1 +
 include/configs/cardhu.h                           |   52 +
 include/configs/tegra30-common.h                   |  180 ++++
 include/serial.h                                   |    2 +-
 spl/Makefile                                       |    2 +-
 46 files changed, 4950 insertions(+), 134 deletions(-)
 create mode 100644 arch/arm/cpu/arm720t/tegra30/Makefile
 create mode 100644 arch/arm/cpu/arm720t/tegra30/config.mk
 create mode 100644 arch/arm/cpu/arm720t/tegra30/cpu.c
 create mode 100644 arch/arm/cpu/armv7/tegra30/Makefile
 create mode 100644 arch/arm/cpu/armv7/tegra30/config.mk
 create mode 100644 arch/arm/cpu/tegra30-common/Makefile
 create mode 100644 arch/arm/cpu/tegra30-common/clock.c
 create mode 100644 arch/arm/cpu/tegra30-common/funcmux.c
 create mode 100644 arch/arm/cpu/tegra30-common/pinmux.c
 create mode 100644 arch/arm/dts/tegra30.dtsi
 create mode 100644 arch/arm/include/asm/arch-tegra/gp_padctrl.h
 create mode 100644 arch/arm/include/asm/arch-tegra30/clock-tables.h
 create mode 100644 arch/arm/include/asm/arch-tegra30/clock.h
 create mode 100644 arch/arm/include/asm/arch-tegra30/emc.h
 create mode 100644 arch/arm/include/asm/arch-tegra30/flow.h
 create mode 100644 arch/arm/include/asm/arch-tegra30/funcmux.h
 create mode 100644 arch/arm/include/asm/arch-tegra30/gp_padctrl.h
 create mode 100644 arch/arm/include/asm/arch-tegra30/gpio.h
 create mode 100644 arch/arm/include/asm/arch-tegra30/hardware.h
 create mode 100644 arch/arm/include/asm/arch-tegra30/pinmux-config-common.h
 create mode 100644 arch/arm/include/asm/arch-tegra30/pinmux.h
 create mode 100644 arch/arm/include/asm/arch-tegra30/pmu.h
 create mode 100644 arch/arm/include/asm/arch-tegra30/tegra.h
 create mode 100644 board/nvidia/cardhu/Makefile
 create mode 100644 board/nvidia/cardhu/cardhu.c
 create mode 100644 board/nvidia/dts/tegra30-cardhu.dts
 create mode 100644 include/configs/cardhu.h
 create mode 100644 include/configs/tegra30-common.h



More information about the U-Boot mailing list