[U-Boot] [PATCH 4/9] tegra: Add SPL build support to tegra boards

Stephen Warren swarren at wwwdotorg.org
Tue May 15 06:55:20 CEST 2012


On 05/10/2012 01:02 AM, Allen Martin wrote:
> Include board.c for both SPL and non-SPL build.  Don't use timer_init
> from board.c for SPL build.
> 
> Signed-off-by: Allen Martin <amartin at nvidia.com>

> diff --git a/board/nvidia/common/Makefile b/board/nvidia/common/Makefile

If we're already not building board.c for non-Cortex A9 (so not for SPL)

> -COBJS-y += board.o
> +COBJS-$(CONFIG_ARMCORTEXA9) += board.o

> diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c

> +#ifndef CONFIG_SPL_BUILD

I'm not sure that this ifdef is necessary since !CONFIG_SPL_BUILD any
time this file is compiled?


More information about the U-Boot mailing list