[U-Boot] [PATCH v4 0/9] tegra2: Tidy up boot path
Simon Glass
sjg at chromium.org
Thu Nov 10 18:36:51 CET 2011
Hi Albert,
On Sat, Nov 5, 2011 at 6:56 AM, Simon Glass <sjg at chromium.org> wrote:
> 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.
>
> Note this series is rebased against master, with the following patches
> added, which should be picked up first:
>
> http://patchwork.ozlabs.org/patch/122888/
> http://patchwork.ozlabs.org/patch/122887/
> http://patchwork.ozlabs.org/patch/122889/
> http://patchwork.ozlabs.org/patch/118184/
>
Have you had a chance to look at this again? Does this series look ok now?
Regards,
Simon
>
> 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
>
> Changes in v4:
> - Revert series to version 1
> - Rebase against master
> - Use cp_init_cp15() name consistently
>
> 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 | 5 +
> 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 | 3 +-
> 14 files changed, 84 insertions(+), 301 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