Skip to contentSkip to conversation

powerpc/cms700: limit NAND data structure size

PATCH New Scott Wood 2 participants 3 messages Dec 18, 2013 – Jan 2, 2014

lore
Share & tools
lore

Scott Wood

author
#0 lore raw

PATCH 1/1 powerpc/cms700: limit NAND data structure size

This fixes a build break due to excessively large NAND data structures.

Cc Matthias Fuchs <[email protected]>
---
 include/configs/CMS700.h | 3 +++
 1 file changed, 3 insertions(+)
include/configs/CMS700.h +3 -0
index 4a5fc86..0bb22be 100644
@@ -149,6 +149,9 @@
 #define CONFIG_SYS_NAND_SKIP_BAD_DOT_I 1       /* ".i" read skips bad blocks   */
 #define CONFIG_SYS_NAND_QUIET          1
 
+#define CONFIG_SYS_NAND_MAX_OOBFREE	2
+#define CONFIG_SYS_NAND_MAX_ECCPOS	48
+
 /*
  * For booting Linux, the board info and command line data
  * have to be in the first 8 MB of memory, since this is
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/1 powerpc/cms700: limit NAND data structure size

Quoted 5 lines · Scott Wood

This fixes a build break due to excessively large NAND data structures.

Cc Matthias Fuchs <[email protected]>

---

Applied to u-boot-mpc85xx/master. Thanks.

York

author
#2 lore raw

PATCH 1/1 powerpc/cms700: limit NAND data structure size

Quoted 8 lines · York Sun
Quoted 5 lines · Scott Wood

This fixes a build break due to excessively large NAND data structures.

Cc Matthias Fuchs <[email protected]>

---

Applied to u-boot-mpc85xx/master. Thanks.

FWIW, this is a 4xx board, not mpc85xx. I actually meant to include this in my last nand pull request, but forgot to push it. :-P

-Scott