summaryrefslogtreecommitdiffstats
path: root/include/configs/at91sam9x5ek.h
diff options
context:
space:
mode:
authorWu, Josh <Josh.wu@atmel.com>2012-08-23 00:05:38 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-09-01 17:06:15 +0200
commitdf95321ca1b06a6271c3959b371848c10019e165 (patch)
tree3a1bbc07618ba76799b780134c760d672799cde6 /include/configs/at91sam9x5ek.h
parent2ab4c7460456470b72a27cdd1d58703494c892a8 (diff)
downloadblackbird-obmc-uboot-df95321ca1b06a6271c3959b371848c10019e165.tar.gz
blackbird-obmc-uboot-df95321ca1b06a6271c3959b371848c10019e165.zip
at91: 9x5: Enable PMECC for 5series ek board.
Signed-off-by: Josh Wu <josh.wu@atmel.com> Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'include/configs/at91sam9x5ek.h')
-rw-r--r--include/configs/at91sam9x5ek.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h
index 5cae6bd70d..1ceb31a0f4 100644
--- a/include/configs/at91sam9x5ek.h
+++ b/include/configs/at91sam9x5ek.h
@@ -120,6 +120,13 @@
#define CONFIG_SYS_NAND_ENABLE_PIN AT91_PIN_PD4
#define CONFIG_SYS_NAND_READY_PIN AT91_PIN_PD5
+/* PMECC & PMERRLOC */
+#define CONFIG_ATMEL_NAND_HWECC 1
+#define CONFIG_ATMEL_NAND_HW_PMECC 1
+#define CONFIG_PMECC_CAP 2
+#define CONFIG_PMECC_SECTOR_SIZE 512
+#define CONFIG_PMECC_INDEX_TABLE_OFFSET 0x8000
+
#define CONFIG_MTD_DEVICE
#define CONFIG_CMD_MTDPARTS
#define CONFIG_MTD_PARTITIONS
OpenPOWER on IntegriCloud