]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc/P1022DS: Define new nand_ecclayout structure macros
authorYork Sun <yorksun@freescale.com>
Tue, 17 Dec 2013 19:21:08 +0000 (11:21 -0800)
committerYork Sun <yorksun@freescale.com>
Thu, 2 Jan 2014 22:10:13 +0000 (14:10 -0800)
Define CONFIG_SYS_NAND_MAX_ECCPOS and CONFIG_SYS_NAND_MAX_OOBFREE to
reduce the image size, by taking advantage of the new nand_ecclayout
structure.

Signed-off-by: York Sun <yorksun@freescale.com>
CC: Prabhakar Kushwaha <prabhakar@freescale.com>
CC: Scott Wood <scottwood@freescale.com>
include/configs/P1022DS.h

index ba43ccec60f9228d5be0fc5060a59166115b6570..934a6cb7a6a00f10d49e386c24e52ffb892dc8e1 100644 (file)
@@ -75,6 +75,8 @@
 #endif
 
 #define CONFIG_NAND_FSL_ELBC
+#define CONFIG_SYS_NAND_MAX_ECCPOS     56
+#define CONFIG_SYS_NAND_MAX_OOBFREE    5
 
 #ifdef CONFIG_NAND
 #define CONFIG_SPL