[U-Boot] [PATCH V5] arm: Tegra2: add support for A9 CPU init

Albert ARIBAUD albert.u.boot at aribaud.net
Wed Apr 20 07:35:36 CEST 2011


Hi Tom,

Le 15/04/2011 00:18, Tom Warren a écrit :
> Signed-off-by: Tom Warren<twarren at nvidia.com>
> ---
> Changes for V2:
>          - Remove returns in void functions
>          - Move inline assembly code to .S file
>          - Simplify some if/else code, break out common code
>          - Minimize the use of local vars
>          - Inline some single-instance functions
>          - Remove TRUE/FALSE define, use 1/0 instead
>          - Replace memset of mem-mapped regs w/loop of writel's
> Changes for V3:
>         - Fix C-style comments in lowlevel_init.S cache_configure
> Changes for V4:
>         - Move cold_boot() from C to assembly
>         - Fix spacing in cache_configure
> Changes for V5:
> 	- Add a timeout and printf msg if CPU never powers up
> 	- Remove redundant is_cpu_powered in start_cpu
>
>   arch/arm/cpu/armv7/start.S                 |   12 +
>   arch/arm/cpu/armv7/tegra2/Makefile         |    2 +-
>   arch/arm/cpu/armv7/tegra2/ap20.c           |  329 ++++++++++++++++++++++++++++
>   arch/arm/cpu/armv7/tegra2/ap20.h           |  104 +++++++++
>   arch/arm/cpu/armv7/tegra2/lowlevel_init.S  |   94 ++++++++
>   arch/arm/include/asm/arch-tegra2/clk_rst.h |   27 +++
>   arch/arm/include/asm/arch-tegra2/pmc.h     |    8 +
>   arch/arm/include/asm/arch-tegra2/scu.h     |   43 ++++
>   arch/arm/include/asm/arch-tegra2/tegra2.h  |    8 +
>   board/nvidia/common/board.c                |   10 +
>   board/nvidia/common/board.h                |   29 +++
>   include/configs/harmony.h                  |    1 +
>   include/configs/seaboard.h                 |    1 +
>   include/configs/tegra2-common.h            |    2 +
>   14 files changed, 669 insertions(+), 1 deletions(-)
>   create mode 100644 arch/arm/cpu/armv7/tegra2/ap20.c
>   create mode 100644 arch/arm/cpu/armv7/tegra2/ap20.h
>   create mode 100644 arch/arm/include/asm/arch-tegra2/scu.h
>   create mode 100644 board/nvidia/common/board.h

Applied to u-boot-arm, thanks.

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list