On Mon, May 14, 2012 at 09:55:20PM -0700, Stephen Warren wrote:
> 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 <amar...@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?

Oh you're right, looks like my commit message is wrong too, I'll take
another look.

-Allen
-- 
nvpublic
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to