From: Nikita Kiryanov Date: Mon, 2 Jul 2012 02:27:59 +0000 (+0000) Subject: cm-t35: fix incorrect NAND_ECC layout selection X-Git-Tag: v2012.07-rc1~11^2~68 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=816e3921480d216c415a7c27ac4e0bf62004db1d;p=u-boot 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. Signed-off-by: Nikita Kiryanov --- diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h index b97e887150..ee4bce5d34 100644 --- a/include/configs/cm_t35.h +++ b/include/configs/cm_t35.h @@ -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 */