summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNikita Kiryanov <nikita@compulab.co.il>2012-07-02 02:27:59 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-07-07 14:07:36 +0200
commit816e3921480d216c415a7c27ac4e0bf62004db1d (patch)
treecf3303dea0f117c3ea2dc668b21218599af4ee6d /include
parentf3f98bb0b8cc520e08ea2bdfc3f9cbe4e4ac29f5 (diff)
downloadu-boot-imx-816e3921480d216c415a7c27ac4e0bf62004db1d.zip
u-boot-imx-816e3921480d216c415a7c27ac4e0bf62004db1d.tar.gz
u-boot-imx-816e3921480d216c415a7c27ac4e0bf62004db1d.tar.bz2
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 <nikita@compulab.co.il>
Diffstat (limited to 'include')
-rw-r--r--include/configs/cm_t35.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h
index b97e887..ee4bce5 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 */