cam_enc_4xx: Set CONFIG_SYS_NAND_MAX_OOBFREE / CONFIG_SYS_NAND_MAX_ECCPOS
PATCH 1/1 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 <[email protected]>
Cc Heiko Schocher <[email protected]>
Signed-off-by Tom Rini <[email protected]>
--- include/configs/cam_enc_4xx.h | 2 ++ 1 file changed, 2 insertions(+)
include/configs/cam_enc_4xx.h +2 -0
@@ -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
Signature · 1 line
1.7.9.5
Quoted 7 lines · Tom Rini
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 <[email protected]>Cc Heiko Schocher <[email protected]>Signed-off-by Tom Rini <[email protected]>
Applied to u-boot-ti/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140108/863019f4/attachment.pgp>