[U-Boot] [PATCH v7 09/15] ARM: add tegra20 support to arm720t

Simon Glass sjg at chromium.org
Thu Jul 19 13:34:36 CEST 2012


Hi Allen,

On Tue, Jul 17, 2012 at 12:02 AM, Allen Martin <amartin at nvidia.com> wrote:
> Add support for tegra20 arm7 boot processor.  This processor is used
> to power on the Cortex A9 and transfer control to it.  In tegra this
> processor is an ARM7TDMI not an ARM720T, but since we don't use cache
> it was easier to just reuse the ARM720T code as the processors are
> otherwise identical except for cache and MMU.
>
> Signed-off-by: Allen Martin <amartin at nvidia.com>
> Acked-by: Stephen Warren <swarren at wwwdotorg.org>
> Tested-by: Thierry Reding <thierry.reding at avionic-design.de>
> ---
>  arch/arm/cpu/arm720t/cpu.c                   |    2 +
>  arch/arm/cpu/arm720t/interrupts.c            |    5 +
>  arch/arm/cpu/arm720t/start.S                 |    6 +-
>  arch/arm/cpu/arm720t/tegra20/Makefile        |   48 +++++
>  arch/arm/cpu/arm720t/tegra20/board.h         |   25 +++
>  arch/arm/cpu/arm720t/tegra20/config.mk       |   26 +++
>  arch/arm/cpu/arm720t/tegra20/cpu.c           |  258 ++++++++++++++++++++++++++
>  arch/arm/cpu/arm720t/tegra20/cpu.h           |  100 ++++++++++
>  arch/arm/cpu/arm720t/tegra20/spl.c           |  132 +++++++++++++
>  arch/arm/include/asm/arch-tegra20/hardware.h |   29 +++
>  10 files changed, 630 insertions(+), 1 deletion(-)
>  create mode 100644 arch/arm/cpu/arm720t/tegra20/Makefile
>  create mode 100644 arch/arm/cpu/arm720t/tegra20/board.h
>  create mode 100644 arch/arm/cpu/arm720t/tegra20/config.mk
>  create mode 100644 arch/arm/cpu/arm720t/tegra20/cpu.c
>  create mode 100644 arch/arm/cpu/arm720t/tegra20/cpu.h
>  create mode 100644 arch/arm/cpu/arm720t/tegra20/spl.c
>  create mode 100644 arch/arm/include/asm/arch-tegra20/hardware.h
>
> diff --git a/arch/arm/cpu/arm720t/cpu.c b/arch/arm/cpu/arm720t/cpu.c
> index 974f288..b6eee7e 100644
> --- a/arch/arm/cpu/arm720t/cpu.c
> +++ b/arch/arm/cpu/arm720t/cpu.c
> @@ -51,6 +51,8 @@ int cleanup_before_linux (void)
>         /* Nothing more needed */
>  #elif defined(CONFIG_INTEGRATOR) && defined(CONFIG_ARCH_INTEGRATOR)
>         /* No cleanup before linux for IntegratorAP/CM720T as yet */
> +#elif defined (CONFIG_TEGRA)

Another little nit, shouldn't have space before (

Regards,
Simon


More information about the U-Boot mailing list