Commit d8794da53b918929b6345e3d64dd74861aab086d
1 parent
4b0561d841
Exists in
master
and in
50 other branches
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>
Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff
include/configs/cam_enc_4xx.h
... | ... | @@ -236,6 +236,8 @@ |
236 | 236 | #define CONFIG_SYS_NAND_BAD_BLOCK_POS 0 |
237 | 237 | #define CONFIG_SYS_NAND_ECCSIZE 0x200 |
238 | 238 | #define CONFIG_SYS_NAND_ECCBYTES 10 |
239 | +#define CONFIG_SYS_NAND_MAX_OOBFREE 2 | |
240 | +#define CONFIG_SYS_NAND_MAX_ECCPOS 56 | |
239 | 241 | #define CONFIG_SYS_NAND_OOBSIZE 64 |
240 | 242 | #define CONFIG_SYS_NAND_5_ADDR_CYCLE |
241 | 243 |