summaryrefslogtreecommitdiff
path: root/include/configs/afeb9260.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-03-26 22:27:45 +0100
committerWolfgang Denk <wd@denx.de>2009-03-26 22:27:45 +0100
commitaaa0e0812ffdf861993129f41936eb175a2eaa5f (patch)
tree2f729e92c83925a5acb9f204e381878928c2c57f /include/configs/afeb9260.h
parent99a4ffe202d8bc1d3c4faff9b8258b686ef656ca (diff)
parentdf486b1fa3f750b153eac7daa0b3bf1f594e5098 (diff)
downloadu-boot-imx-aaa0e0812ffdf861993129f41936eb175a2eaa5f.zip
u-boot-imx-aaa0e0812ffdf861993129f41936eb175a2eaa5f.tar.gz
u-boot-imx-aaa0e0812ffdf861993129f41936eb175a2eaa5f.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-at91
Diffstat (limited to 'include/configs/afeb9260.h')
-rw-r--r--include/configs/afeb9260.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/afeb9260.h b/include/configs/afeb9260.h
index 9eed342..33a67ca 100644
--- a/include/configs/afeb9260.h
+++ b/include/configs/afeb9260.h
@@ -97,9 +97,18 @@
#define DATAFLASH_TCHS (0x1 << 24)
/* NAND flash */
+#ifdef CONFIG_CMD_NAND
+#define CONFIG_NAND_ATMEL
#define CONFIG_SYS_MAX_NAND_DEVICE 1
#define CONFIG_SYS_NAND_BASE 0x40000000
#define CONFIG_SYS_NAND_DBW_8 1
+/* our ALE is AD21 */
+#define CONFIG_SYS_NAND_MASK_ALE (1 << 21)
+/* our CLE is AD22 */
+#define CONFIG_SYS_NAND_MASK_CLE (1 << 22)
+#define CONFIG_SYS_NAND_ENABLE_PIN AT91_PIN_PC14
+#define CONFIG_SYS_NAND_READY_PIN AT91_PIN_PC13
+#endif
/* NOR flash - no real flash on this board */
#define CONFIG_SYS_NO_FLASH 1