[U-Boot] [PATCH 2/2] Changes to move hawkboard to the new infrastructure.

Sughosh Ganu urwithsughosh at gmail.com
Tue Jan 10 07:30:41 CET 2012


On Mon Jan 09, 2012 at 04:30:56PM -0700, Tom Rini wrote:
> On 01/09/2012 11:28 AM, Sughosh Ganu wrote:

<snip>

> > --- a/arch/arm/cpu/arm926ejs/davinci/Makefile
> > +++ b/arch/arm/cpu/arm926ejs/davinci/Makefile
> > @@ -38,8 +38,11 @@ COBJS-$(CONFIG_DRIVER_TI_EMAC)	+= lxt972.o dp83848.o et1011c.o ksz8873.o
> >  
> >  ifdef CONFIG_SPL_BUILD
> >  COBJS-y	+= spl.o
> > -COBJS-$(CONFIG_SOC_DM365)	+= dm365_lowlevel.o
> > -COBJS-$(CONFIG_SOC_DA8XX)	+= da850_lowlevel.o
> > +COBJS-$(CONFIG_DM365_SPL)	+= dm365_lowlevel.o
> > +COBJS-$(CONFIG_DM365_SPL)	+= dm365_spl.o
> > +COBJS-$(CONFIG_DA850EVM_SPL)	+= da850_lowlevel.o
> > +COBJS-$(CONFIG_DA850EVM_SPL)	+= da850_spl.o
> > +COBJS-$(CONFIG_HAWKBOARD_SPL)	+= hawkboard_nand_spl.o
> >  endif
> 
> CONFIG_SPL_BUILD means we'll only do this on the SPL build, not the
> normal build, and we already have symbols for the board and the SoC so
> we shouldn't need any new CONFIG symbols here, I'm pretty sure.

  The problem here is that both da850evm and hawkboard define the
  CONFIG_SOC_DA850, and CONFIG_SOC_DA8XX, as the hawkboard shares code
  like pinmux with the da850.

  I see a CONFIG_MACH_DAVINCI_* like define in da850evm.h and
  hawkboard.h. Should i add a similar define for cam_enc_4xx, and use
  these instead.

-sughosh


More information about the U-Boot mailing list