summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-12-18 14:43:08 -0500
committerTom Rini <trini@ti.com>2014-01-07 16:41:11 -0500
commitd8794da53b918929b6345e3d64dd74861aab086d (patch)
treea71eee2681c17ed4f1576d9b960a51e21d4910d8
parent4b0561d84198f8d696fd51cfc27aeac8c7482a8c (diff)
downloadblackbird-obmc-uboot-d8794da53b918929b6345e3d64dd74861aab086d.tar.gz
blackbird-obmc-uboot-d8794da53b918929b6345e3d64dd74861aab086d.zip
cam_enc_4xx: Set CONFIG_SYS_NAND_MAX_OOBFREE / CONFIG_SYS_NAND_MAX_ECCPOS
With the changes to make OOBFREE/ECCPOS configurable but default to larger, we need to set these config options for the space savings they provide. Cc: Scott Wood <scottwood@freescale.com> Cc: Heiko Schocher <hs@denx.de> Signed-off-by: Tom Rini <trini@ti.com>
-rw-r--r--include/configs/cam_enc_4xx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/cam_enc_4xx.h b/include/configs/cam_enc_4xx.h
index c1042aecbf..8182a7577b 100644
--- a/include/configs/cam_enc_4xx.h
+++ b/include/configs/cam_enc_4xx.h
@@ -236,6 +236,8 @@
#define CONFIG_SYS_NAND_BAD_BLOCK_POS 0
#define CONFIG_SYS_NAND_ECCSIZE 0x200
#define CONFIG_SYS_NAND_ECCBYTES 10
+#define CONFIG_SYS_NAND_MAX_OOBFREE 2
+#define CONFIG_SYS_NAND_MAX_ECCPOS 56
#define CONFIG_SYS_NAND_OOBSIZE 64
#define CONFIG_SYS_NAND_5_ADDR_CYCLE
OpenPOWER on IntegriCloud