[U-Boot] [PATCH 0/2] Move Tegra20 files to common subdirs, prep for T30

Tom Warren twarren.nvidia at gmail.com
Fri Sep 21 22:42:25 CEST 2012


This patch series moves Tegra20 code and include files into common
subdirs (../cpu/tegra-common, ../cpu/arm720t/tegra-common, and
../cpu/armv7/tegra-common, plus ../include/asm/arch-tegra). This is
needed to prepare for Tegra30 support - T30 HW is (mostly) a super-
set of T20 HW.

MAKEALL -s tegra20 is OK, as is checkpatch.pl.

Tom Warren (2):
  Tegra20: Move some code files to common directories for upcoming
    Tegra30 patches.
  Tegra20: Move some include files to arch-tegra for sharing with
    Tegra30

 Makefile                                           |    2 +
 .../cpu/arm720t/{tegra20 => tegra-common}/Makefile |    3 +-
 .../cpu/arm720t/{tegra20 => tegra-common}/board.h  |    0
 .../cpu/arm720t/{tegra20 => tegra-common}/cpu.h    |    0
 .../cpu/arm720t/{tegra20 => tegra-common}/spl.c    |   12 +-
 arch/arm/cpu/arm720t/tegra20/Makefile              |    1 -
 arch/arm/cpu/arm720t/tegra20/cpu.c                 |   12 +-
 .../cpu/armv7/{tegra20 => tegra-common}/Makefile   |    3 +-
 .../armv7/{tegra20 => tegra-common}/cmd_enterrcm.c |    4 +-
 arch/arm/cpu/armv7/tegra20/Makefile                |    1 -
 arch/arm/cpu/armv7/tegra20/usb.c                   |    8 +-
 .../cpu/{arm720t/tegra20 => tegra-common}/Makefile |   10 +-
 .../{tegra20-common/ap20.c => tegra-common/ap.c}   |   12 +-
 .../cpu/{tegra20-common => tegra-common}/board.c   |    8 +-
 .../lowlevel_init.S                                |    0
 .../{tegra20-common => tegra-common}/sys_info.c    |    0
 .../cpu/{tegra20-common => tegra-common}/timer.c   |    4 +-
 arch/arm/cpu/tegra20-common/Makefile               |    3 +-
 arch/arm/cpu/tegra20-common/clock.c                |    8 +-
 arch/arm/cpu/tegra20-common/emc.c                  |    4 +-
 arch/arm/cpu/tegra20-common/pinmux.c               |    4 +-
 arch/arm/cpu/tegra20-common/pmu.c                  |    8 +-
 arch/arm/cpu/tegra20-common/warmboot.c             |   18 +-
 arch/arm/cpu/tegra20-common/warmboot_avp.c         |   12 +-
 .../asm/{arch-tegra20/ap20.h => arch-tegra/ap.h}   |    0
 .../asm/{arch-tegra20 => arch-tegra}/board.h       |    0
 .../asm/{arch-tegra20 => arch-tegra}/clk_rst.h     |    0
 .../asm/{arch-tegra20 => arch-tegra}/clock.h       |  160 +--------
 .../asm/{arch-tegra20 => arch-tegra}/fuse.h        |    0
 .../asm/{arch-tegra20/mmc.h => arch-tegra/gpio.h}  |   21 +-
 .../include/asm/{arch-tegra20 => arch-tegra}/mmc.h |    0
 .../include/asm/{arch-tegra20 => arch-tegra}/pmc.h |    0
 .../include/asm/{arch-tegra20 => arch-tegra}/scu.h |    0
 .../asm/{arch-tegra20 => arch-tegra}/sys_proto.h   |    0
 .../{arch-tegra20/tegra20.h => arch-tegra/tegra.h} |   14 +-
 .../asm/{arch-tegra20 => arch-tegra}/tegra_i2c.h   |    4 +-
 .../asm/{arch-tegra20 => arch-tegra}/tegra_mmc.h   |    0
 .../asm/{arch-tegra20 => arch-tegra}/tegra_spi.h   |    0
 .../asm/{arch-tegra20 => arch-tegra}/timer.h       |    0
 .../asm/{arch-tegra20 => arch-tegra}/uart.h        |    0
 .../asm/{arch-tegra20 => arch-tegra}/warmboot.h    |    0
 arch/arm/include/asm/arch-tegra20/clock-tables.h   |  183 +++++++++
 arch/arm/include/asm/arch-tegra20/clock.h          |  388 +-------------------
 arch/arm/include/asm/arch-tegra20/gpio.h           |   22 +-
 .../asm/arch-tegra20/{sys_proto.h => tegra.h}      |   17 +-
 board/avionic-design/common/tamonten.c             |   13 +-
 board/compal/paz00/paz00.c                         |    4 +-
 board/compulab/trimslice/trimslice.c               |    6 +-
 board/nvidia/common/board.c                        |   17 +-
 board/nvidia/common/emc.c                          |    8 +-
 board/nvidia/common/uart-spi-switch.c              |    4 +-
 board/nvidia/harmony/harmony.c                     |    4 +-
 board/nvidia/seaboard/seaboard.c                   |    4 +-
 board/nvidia/whistler/whistler.c                   |    6 +-
 drivers/gpio/tegra_gpio.c                          |    2 +-
 drivers/i2c/tegra_i2c.c                            |    4 +-
 drivers/input/tegra-kbc.c                          |    2 +-
 drivers/mmc/tegra_mmc.c                            |    6 +-
 drivers/mtd/nand/tegra_nand.c                      |    5 +-
 drivers/spi/tegra_spi.c                            |    7 +-
 include/configs/tegra20-common.h                   |    2 +-
 spl/Makefile                                       |    2 +
 62 files changed, 343 insertions(+), 699 deletions(-)
 copy arch/arm/cpu/arm720t/{tegra20 => tegra-common}/Makefile (97%)
 rename arch/arm/cpu/arm720t/{tegra20 => tegra-common}/board.h (100%)
 rename arch/arm/cpu/arm720t/{tegra20 => tegra-common}/cpu.h (100%)
 rename arch/arm/cpu/arm720t/{tegra20 => tegra-common}/spl.c (94%)
 copy arch/arm/cpu/armv7/{tegra20 => tegra-common}/Makefile (95%)
 rename arch/arm/cpu/armv7/{tegra20 => tegra-common}/cmd_enterrcm.c (96%)
 copy arch/arm/cpu/{arm720t/tegra20 => tegra-common}/Makefile (86%)
 rename arch/arm/cpu/{tegra20-common/ap20.c => tegra-common/ap.c} (95%)
 rename arch/arm/cpu/{tegra20-common => tegra-common}/board.c (95%)
 rename arch/arm/cpu/{tegra20-common => tegra-common}/lowlevel_init.S (100%)
 rename arch/arm/cpu/{tegra20-common => tegra-common}/sys_info.c (100%)
 rename arch/arm/cpu/{tegra20-common => tegra-common}/timer.c (97%)
 rename arch/arm/include/asm/{arch-tegra20/ap20.h => arch-tegra/ap.h} (100%)
 rename arch/arm/include/asm/{arch-tegra20 => arch-tegra}/board.h (100%)
 rename arch/arm/include/asm/{arch-tegra20 => arch-tegra}/clk_rst.h (100%)
 copy arch/arm/include/asm/{arch-tegra20 => arch-tegra}/clock.h (72%)
 rename arch/arm/include/asm/{arch-tegra20 => arch-tegra}/fuse.h (100%)
 copy arch/arm/include/asm/{arch-tegra20/mmc.h => arch-tegra/gpio.h} (65%)
 rename arch/arm/include/asm/{arch-tegra20 => arch-tegra}/mmc.h (100%)
 rename arch/arm/include/asm/{arch-tegra20 => arch-tegra}/pmc.h (100%)
 rename arch/arm/include/asm/{arch-tegra20 => arch-tegra}/scu.h (100%)
 copy arch/arm/include/asm/{arch-tegra20 => arch-tegra}/sys_proto.h (100%)
 rename arch/arm/include/asm/{arch-tegra20/tegra20.h => arch-tegra/tegra.h} (90%)
 rename arch/arm/include/asm/{arch-tegra20 => arch-tegra}/tegra_i2c.h (98%)
 rename arch/arm/include/asm/{arch-tegra20 => arch-tegra}/tegra_mmc.h (100%)
 rename arch/arm/include/asm/{arch-tegra20 => arch-tegra}/tegra_spi.h (100%)
 rename arch/arm/include/asm/{arch-tegra20 => arch-tegra}/timer.h (100%)
 rename arch/arm/include/asm/{arch-tegra20 => arch-tegra}/uart.h (100%)
 rename arch/arm/include/asm/{arch-tegra20 => arch-tegra}/warmboot.h (100%)
 create mode 100644 arch/arm/include/asm/arch-tegra20/clock-tables.h
 rename arch/arm/include/asm/arch-tegra20/{sys_proto.h => tegra.h} (76%)



More information about the U-Boot mailing list