summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYork Sun <yorksun@freescale.com>2013-12-17 11:21:09 -0800
committerYork Sun <yorksun@freescale.com>2014-01-02 14:10:13 -0800
commitab13ad58359e803d948267881e4f495927cb7548 (patch)
treed7360122f6310030c1b4c6513d8ddeb2300c981e
parent9407c3fc2ea9f61243cd460a3fe64dfb396b3721 (diff)
downloadu-boot-imx-ab13ad58359e803d948267881e4f495927cb7548.zip
u-boot-imx-ab13ad58359e803d948267881e4f495927cb7548.tar.gz
u-boot-imx-ab13ad58359e803d948267881e4f495927cb7548.tar.bz2
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 <yorksun@freescale.com> CC: Prabhakar Kushwaha <prabhakar@freescale.com> CC: Scott Wood <scottwood@freescale.com>
-rw-r--r--include/configs/B4860QDS.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/B4860QDS.h b/include/configs/B4860QDS.h
index 3c6cd61..c182158 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)