[U-Boot] [PATCH 7/7] 4xx: Cleanup for partial linking and --gc-sections
Stefan Roese
sr at denx.de
Tue Nov 23 14:31:18 CET 2010
Hi Wolfgang,
On Sunday 21 November 2010 22:03:40 Wolfgang Denk wrote:
> This commit adapts 4xx boards for partial linking with --gc-sections.
Thanks. One comment below.
<snip>
> diff --git a/arch/powerpc/cpu/ppc4xx/Makefile
> b/arch/powerpc/cpu/ppc4xx/Makefile index d97ca20..93ebf89 100644
> --- 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.
Cheers,
Stefan
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de
More information about the U-Boot
mailing list