Skip to contentSkip to conversation

ppc4xx/NAND: Reduce size of NAND SPL image

PATCH New Stefan Roese 2 participants 2 messages Nov 23, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc4xx/NAND: Reduce size of NAND SPL image

This is needed for the canyonlands_nand build target. Without it the resulting image won't fit into 4k.

---
Scott, I would like to push this patch via my repository. Please let me know if this is ok with you.

Thanks.

 drivers/mtd/nand/ndfc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/mtd/nand/ndfc.c +2 -2
index 3ca13a9..0729e0c 100644
@@ -201,6 +201,8 @@ int board_nand_init(struct nand_chip *nand)
 #ifndef CONFIG_NAND_SPL
 	nand->write_buf  = ndfc_write_buf;
 	nand->verify_buf = ndfc_verify_buf;
+
+	chip++;
 #else
 	/*
 	 * Setup EBC (CS0 only right now)
@@ -211,7 +213,5 @@ int board_nand_init(struct nand_chip *nand)
 	mtebc(PB0AP, CONFIG_SYS_EBC_PB0AP);
 #endif
 
-	chip++;
-
 	return 0;
 }
Signature · 1 line
1.7.3.2
#1 lore raw

PATCH 1/1 ppc4xx/NAND: Reduce size of NAND SPL image

Quoted 8 lines · On Tue, 23 Nov 2010 14:32:48 +0100 Stefan Roese <[email protected]> wrote:

This is needed for the canyonlands_nand build target. Without it the resulting image won't fit into 4k.

---
Scott, I would like to push this patch via my repository. Please let me know if this is ok with you.

-Scott