Skip to contentSkip to conversation

ppc4xx: Canyonlands/Glacier: Squeeze NAND image a bit to fit again

PATCH New Stefan Roese 1 participant 2 messages Aug 27, 2012 – Sep 3, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc4xx: Canyonlands/Glacier: Squeeze NAND image a bit to fit again

This patch removes some superfluous SDRAM init calls to fit the NAND_SPL image into 4k again.

---
 nand_spl/board/amcc/canyonlands/ddr2_fixed.c | 3 ---
 1 file changed, 3 deletions(-)
nand_spl/board/amcc/canyonlands/ddr2_fixed.c +0 -3
index f71ecfb..10f62cc 100644
@@ -92,14 +92,11 @@ static void ddr_init_common(void)
 	mtsdram(SDRAM_INITPLR11, 0x80000432);
 	mtsdram(SDRAM_INITPLR12, 0x808103C0);
 	mtsdram(SDRAM_INITPLR13, 0x80810040);
-	mtsdram(SDRAM_INITPLR14, 0x00000000);
-	mtsdram(SDRAM_INITPLR15, 0x00000000);
 	mtsdram(SDRAM_RDCC, 0x40000000);
 	mtsdram(SDRAM_RQDC, 0x80000038);
 	mtsdram(SDRAM_RFDC, 0x00000257);
 
 	mtdcr(SDRAM_R0BAS, 0x0000F800);		/* MQ0_B0BAS */
-	mtdcr(SDRAM_R1BAS, 0x0400F800);		/* MQ0_B1BAS */
 }
 
 phys_size_t initdram(int board_type)
Signature · 1 line
1.7.12
#1 lore raw

PATCH 1/1 ppc4xx: Canyonlands/Glacier: Squeeze NAND image a bit to fit again

Quoted 4 lines · Stefan Roese

This patch removes some superfluous SDRAM init calls to fit the NAND_SPL image into 4k again.

Applied to u-boot-ppc4xx/master.

Thanks,
Stefan

Signature · 7 lines
Viele Gr??e,
Stefan Roese

--
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