Skip to contentSkip to conversation

cm-t35: fix incorrect NAND_ECC layout selection

PATCH New Nikita Kiryanov 2 participants 3 messages Jul 2, 2012 – Jul 4, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cm-t35: fix incorrect NAND_ECC layout selection

The current configuration selects an incorrect NAND ECC layout, which causes u-boot to write HW ECC data incorrectly. This patch selects the right layout.

---
 include/configs/cm_t35.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/configs/cm_t35.h +1 -1
index 1419f06..e0dd3fb 100644
@@ -174,7 +174,7 @@
 #define CONFIG_SYS_NAND_BASE		NAND_BASE	/* physical address */
 							/* to access nand at */
 							/* CS0 */
-#define GPMC_NAND_ECC_LP_x16_LAYOUT
+#define GPMC_NAND_ECC_LP_x8_LAYOUT
 
 #define CONFIG_SYS_MAX_NAND_DEVICE	1		/* Max number of NAND */
 							/* devices */
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 cm-t35: fix incorrect NAND_ECC layout selection

Quoted 5 lines · Nikita Kiryanov

The current configuration selects an incorrect NAND ECC layout, which causes u-boot to write HW ECC data incorrectly. This patch selects the right layout.

This change is correct on all boards and not due to a change in NAND parts used in newer revisions or anything, correct?

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/20120702/16bea79d/attachment.pgp>
#2 lore raw

PATCH 1/1 cm-t35: fix incorrect NAND_ECC layout selection

Quoted 11 lines · Tom Rini
Quoted 5 lines · Nikita Kiryanov

The current configuration selects an incorrect NAND ECC layout, which causes u-boot to write HW ECC data incorrectly. This patch selects the right layout.

This change is correct on all boards and not due to a change in NAND parts used in newer revisions or anything, correct?

Yes. All our boards have 8 bit NAND chips.