]> git.sur5r.net Git - u-boot/commitdiff
powerpc/cms700: limit NAND data structure size
authorScott Wood <scottwood@freescale.com>
Wed, 18 Dec 2013 04:11:07 +0000 (22:11 -0600)
committerYork Sun <yorksun@freescale.com>
Thu, 2 Jan 2014 22:10:13 +0000 (14:10 -0800)
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>
include/configs/CMS700.h

index 4a5fc864a653c6ad8f6aaea8f3cc503c81161e52..0bb22be9f3cf2b6dd9f670692afbe9bea1046c0c 100644 (file)
 #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