From: York Sun Date: Tue, 17 Dec 2013 19:21:09 +0000 (-0800) Subject: powerpc/B4860QDS: Define new nand_ecclayout structure macros X-Git-Tag: v2014.01-rc3~25^2~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ab13ad58359e803d948267881e4f495927cb7548;p=u-boot powerpc/B4860QDS: 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/B4860QDS.h b/include/configs/B4860QDS.h index 3c6cd61342..c182158be4 100644 --- a/include/configs/B4860QDS.h +++ b/include/configs/B4860QDS.h @@ -289,6 +289,8 @@ unsigned long get_board_ddr_clk(void); /* NAND Flash on IFC */ #define CONFIG_NAND_FSL_IFC +#define CONFIG_SYS_NAND_MAX_ECCPOS 256 +#define CONFIG_SYS_NAND_MAX_OOBFREE 2 #define CONFIG_SYS_NAND_BASE 0xff800000 #ifdef CONFIG_PHYS_64BIT #define CONFIG_SYS_NAND_BASE_PHYS (0xf00000000ull | CONFIG_SYS_NAND_BASE)