From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Tue, 23 Nov 2010 14:31:18 +0100 Subject: [U-Boot] [PATCH 7/7] 4xx: Cleanup for partial linking and --gc-sections In-Reply-To: <1290373420-3053-8-git-send-email-wd@denx.de> References: <1290373420-3053-1-git-send-email-wd@denx.de> <1290373420-3053-8-git-send-email-wd@denx.de> Message-ID: <201011231431.18905.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. > 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