[U-Boot] [PATCH v3 03/17] sandbox: Add support for generic board

Tom Rini trini at ti.com
Mon Apr 22 16:11:13 CEST 2013


On Mon, Apr 22, 2013 at 10:03:10AM -0400, Tom Rini wrote:
> On Sat, Apr 20, 2013 at 11:42:38AM -0700, Simon Glass wrote:
> 
> > Add generic board support for sandbox.
> [snip]
> > diff --git a/arch/sandbox/include/asm/u-boot.h b/arch/sandbox/include/asm/u-boot.h
> > index de8120a..7b93acb 100644
> > --- a/arch/sandbox/include/asm/u-boot.h
> > +++ b/arch/sandbox/include/asm/u-boot.h
> > @@ -36,6 +36,11 @@
> >  #ifndef _U_BOOT_H_
> >  #define _U_BOOT_H_	1
> >  
> > +#ifdef CONFIG_SYS_GENERIC_BOARD
> > +/* Use the generic board which requires a unified bd_info */
> > +#include <asm-generic/u-boot.h>
> > +#else
> 
> You're converting the whole arch here, so just drop the
> non-CONFIG_SYS_GENERIC_BOARD code?
> 
> [snip]
> > diff --git a/arch/sandbox/lib/Makefile b/arch/sandbox/lib/Makefile
> > index fbe579b..b1ae168 100644
> > --- a/arch/sandbox/lib/Makefile
> > +++ b/arch/sandbox/lib/Makefile
> > @@ -27,7 +27,9 @@ include $(TOPDIR)/config.mk
> >  
> >  LIB	= $(obj)lib$(ARCH).o
> >  
> > +ifndef CONFIG_SYS_GENERIC_BOARD
> >  COBJS-y	+= board.o
> > +endif
> 
> Then board.c goes away too.

In short, squash 3/4/5 into one patch.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130422/207e3580/attachment.pgp>


More information about the U-Boot mailing list