summaryrefslogtreecommitdiff
path: root/include/configs/P1022DS.h
diff options
context:
space:
mode:
authorYork Sun <yorksun@freescale.com>2013-12-17 11:21:08 -0800
committerYork Sun <yorksun@freescale.com>2014-01-02 14:10:13 -0800
commit9407c3fc2ea9f61243cd460a3fe64dfb396b3721 (patch)
tree9bc52ec667545088a54d840767918222ffafacd9 /include/configs/P1022DS.h
parentb135991a3cddd1a266c5fbd64e25eaaa61bde2d8 (diff)
downloadu-boot-imx-9407c3fc2ea9f61243cd460a3fe64dfb396b3721.zip
u-boot-imx-9407c3fc2ea9f61243cd460a3fe64dfb396b3721.tar.gz
u-boot-imx-9407c3fc2ea9f61243cd460a3fe64dfb396b3721.tar.bz2
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 <yorksun@freescale.com> CC: Prabhakar Kushwaha <prabhakar@freescale.com> CC: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'include/configs/P1022DS.h')
-rw-r--r--include/configs/P1022DS.h2
1 files changed, 2 insertions, 0 deletions
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