From: York Sun Date: Tue, 17 Dec 2013 19:21:08 +0000 (-0800) Subject: powerpc/P1022DS: Define new nand_ecclayout structure macros X-Git-Tag: v2014.01-rc3~25^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9407c3fc2ea9f61243cd460a3fe64dfb396b3721;p=kernel%2Fu-boot.git powerpc/P1022DS: Define new nand_ecclayout structure macros 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 CC: Prabhakar Kushwaha CC: Scott Wood --- diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h index ba43cce..934a6cb 100644 --- a/include/configs/P1022DS.h +++ b/include/configs/P1022DS.h @@ -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