]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cm-t35: fix incorrect NAND_ECC layout selection
authorNikita Kiryanov <nikita@compulab.co.il>
Mon, 2 Jul 2012 02:27:59 +0000 (02:27 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:36 +0000 (14:07 +0200)
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.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
include/configs/cm_t35.h

index b97e8871502773bcb9d8aae65ff1c8763bed7bec..ee4bce5d341d76bfb1535314323005296ae97978 100644 (file)
 #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 */