[U-Boot] [PATCH] powerpc/cms700: limit NAND data structure size
Scott Wood
scottwood at freescale.com
Wed Dec 18 05:11:07 CET 2013
This fixes a build break due to excessively large NAND data structures.
Signed-off-by: Scott Wood <scottwood at freescale.com>
Cc: Matthias Fuchs <matthias.fuchs at esd-electronics.com>
---
include/configs/CMS700.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/configs/CMS700.h b/include/configs/CMS700.h
index 4a5fc86..0bb22be 100644
--- a/include/configs/CMS700.h
+++ b/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
--
1.8.1.2
More information about the U-Boot
mailing list