[U-Boot] [PATCH 7/7] 4xx: Cleanup for partial linking and --gc-sections

Wolfgang Denk wd at denx.de
Tue Nov 23 20:55:03 CET 2010


Dear Stefan Roese,

In message <201011231431.18905.sr at denx.de> you wrote:
> 
> > --- a/arch/powerpc/cpu/ppc4xx/Makefile
> > +++ b/arch/powerpc/cpu/ppc4xx/Makefile
> > @@ -37,9 +37,9 @@ COBJS	:= 40x_spd_sdram.o
> >  ifndef CONFIG_NAND_SPL
> >  ifndef CONFIG_NAND_U_BOOT
> >  COBJS	+= 44x_spd_ddr.o
> > +COBJS-$(CONFIG_SDRAM_PPC4xx_IBM_DDR2) += 44x_spd_ddr2.o
> >  endif
> >  endif
> > -COBJS-$(CONFIG_SDRAM_PPC4xx_IBM_DDR2) += 44x_spd_ddr2.o
> 
> This change introduces the problem with the kilauea/haleakala NAND booting 
> images. Yes, I am aware that without this change, canyonlands_nand fails to 
> build. I noticed this too right now. I'll send another patch to fix this 
> canyonlands_nand build problem shortly.

Without this, kilauea/haleakala NAND boot configurations load the
44x_spd_ddr2 init code, which you said was not the correct thing.

So which is correct?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Inside every old person is a young person wondering what happened.
                              - Terry Pratchett, _Moving Pictures_


More information about the U-Boot mailing list