Skip to contentSkip to conversation

cam_enc_4xx: Set CONFIG_SYS_NAND_MAX_OOBFREE / CONFIG_SYS_NAND_MAX_ECCPOS

PATCH In review Tom Rini 1 participant 2 messages Dec 18, 2013 – Jan 8, 2014

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

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]>
---
 include/configs/cam_enc_4xx.h |    2 ++
 1 file changed, 2 insertions(+)
include/configs/cam_enc_4xx.h +2 -0
index c1042ae..8182a75 100644
@@ -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
author
#1 lore raw
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]>

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>