[U-Boot] [PATCH 0/9] tegra2: Tidy up boot path

Simon Glass
2011-10-13T21:05:54Z

On Tegra2 the AVP runs the normal U-Boot code to a point, then halts and
the A9 takes over. The current Tegra2 boot path is fairly complex, since it
has a separate path and code for the Cortex-A9 and the AVP. In fact, they
can largely execute the same code path.

This series cleans up this logic and removes some parallel and un-needed
code.

Simon Glass (9):
tegra2: Add arch_cpu_init() to fire up Cortex-A9
tegra2: Simplify tegra_start() boot path
arm: Move CP15 init out of cpu_init_crit()
tegra2: Enable instruction cache
tegra2: Remove unneeded boot code
tegra2: Remove unneeded config option
tegra2: Remove unused low-level Tegra2 UART code
tegra2: Remove unneeded 'dynamic ram size' message
tegra2: Don't use board pointer before it is set up

arch/arm/cpu/armv7/start.S | 36 +++++-----
arch/arm/cpu/armv7/tegra2/Makefile | 7 ++-
arch/arm/cpu/armv7/tegra2/ap20.c | 54 +++++++------
arch/arm/cpu/armv7/tegra2/ap20.h | 10 +--
arch/arm/cpu/armv7/tegra2/board.c | 35 ++++-----
arch/arm/cpu/armv7/tegra2/config.mk | 28 -------
arch/arm/cpu/armv7/tegra2/lowlevel_init.S | 118 -----------------------------
arch/arm/include/asm/u-boot-arm.h | 3 +
arch/arm/lib/Makefile | 6 ++
board/nvidia/common/board.c | 6 +-
board/nvidia/common/board.h | 1 -
drivers/serial/Makefile | 1 -
drivers/serial/serial_tegra2.c | 77 -------------------
drivers/serial/serial_tegra2.h | 29 -------
include/configs/tegra2-common.h | 4 +-
15 files changed, 86 insertions(+), 329 deletions(-)
delete mode 100644 arch/arm/cpu/armv7/tegra2/config.mk
delete mode 100644 drivers/serial/serial_tegra2.c
delete mode 100644 drivers/serial/serial_tegra2.h

--
1.7.3.1