浏览代码

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 11 年之前
父节点
当前提交
8fe207d036
共有 1 个文件被更改,包括 3 次插入0 次删除
  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