Explorar o código

powerpc/cms700: limit NAND data structure size

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

Signed-off-by: Scott Wood <scottwood@freescale.com>
Cc: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Scott Wood %!s(int64=11) %!d(string=hai) anos
pai
achega
8fe207d036
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      include/configs/CMS700.h

+ 3 - 0
include/configs/CMS700.h

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