[U-Boot] [PATCH v2 0/9] tegra2: Tidy up boot path
Simon Glass
sjg at chromium.org
Sat Oct 15 02:17:07 CEST 2011
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.
Changes in v2:
- Move Makefile armv4t flags from arch/arm/lib to Tegra's config.mk
- Keep Tegra's config.mk file around so we can set the armv4t flags
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 | 7 +-
arch/arm/cpu/armv7/tegra2/lowlevel_init.S | 118 -----------------------------
arch/arm/include/asm/u-boot-arm.h | 3 +
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 +-
14 files changed, 85 insertions(+), 303 deletions(-)
delete mode 100644 drivers/serial/serial_tegra2.c
delete mode 100644 drivers/serial/serial_tegra2.h
--
1.7.3.1
More information about the U-Boot
mailing list