summaryrefslogtreecommitdiffstats
path: root/include/configs/atngw100.h
diff options
context:
space:
mode:
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-06-20 10:41:05 +0200
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-06-20 12:46:48 +0200
commit5f723a3b98c630bde33de74351f2121691fdef14 (patch)
tree3fac4e5d3fe16b8c6696822d0ab1744ab4263e24 /include/configs/atngw100.h
parent5605ef6b5802921cbefe6a933a9dea3497396b5c (diff)
downloadu-boot-5f723a3b98c630bde33de74351f2121691fdef14.tar.gz
u-boot-5f723a3b98c630bde33de74351f2121691fdef14.tar.xz
u-boot-5f723a3b98c630bde33de74351f2121691fdef14.zip
avr32: Enable SPI flash support on ATNGW100
The ATNGW100 has 8MB DataFlash on board. Give users access to it through the new SPI flash framework. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'include/configs/atngw100.h')
-rw-r--r--include/configs/atngw100.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/atngw100.h b/include/configs/atngw100.h
index 3fc9975637..7ac51b543c 100644
--- a/include/configs/atngw100.h
+++ b/include/configs/atngw100.h
@@ -114,6 +114,8 @@
#define CONFIG_CMD_FAT
#define CONFIG_CMD_JFFS2
#define CONFIG_CMD_MMC
+#define CONFIG_CMD_SF
+#define CONFIG_CMD_SPI
#undef CONFIG_CMD_AUTOSCRIPT
#undef CONFIG_CMD_FPGA
@@ -126,6 +128,10 @@
#define CFG_NR_PIOS 5
#define CFG_HSDRAMC 1
#define CONFIG_MMC 1
+#define CONFIG_ATMEL_SPI 1
+
+#define CONFIG_SPI_FLASH 1
+#define CONFIG_SPI_FLASH_ATMEL 1
#define CFG_DCACHE_LINESZ 32
#define CFG_ICACHE_LINESZ 32