summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2014-10-31 08:30:56 +0100
committerTom Rini <trini@ti.com>2014-11-17 08:47:16 -0500
commit50921cdc4474dafdcf19db54d7a669781ee5b70f (patch)
tree1ad1937dee3a604123f3d82629fd81c5a7c3da74 /include
parentf11dea4f3dbbfba5f5f1736f527ad4356d2d74a6 (diff)
arm, at91: add spi dataflash support for the taurus board
Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Bo Shen <voice.shen@atmel.com> Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com> Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/taurus.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/taurus.h b/include/configs/taurus.h
index aadf4cd2f8..ba9496fe5f 100644
--- a/include/configs/taurus.h
+++ b/include/configs/taurus.h
@@ -127,6 +127,16 @@
#define CONFIG_USB_STORAGE
#endif
+/* SPI EEPROM */
+#define CONFIG_SPI
+#define CONFIG_CMD_SPI
+#define CONFIG_CMD_SF
+#define CONFIG_SPI_FLASH
+#define CONFIG_ATMEL_SPI
+#define CONFIG_SPI_FLASH_STMICRO
+#define TAURUS_SPI_MASK (1 << 4)
+#define TAURUS_SPI_CS_PIN AT91_PIN_PA3
+
/* load address */
#define CONFIG_SYS_LOAD_ADDR 0x22000000