aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini2018-04-07 09:15:50 -0400
committerTom Rini2018-04-07 09:19:00 -0400
commite80fa2c2c0870f7c17e233ecc07552e1082c1513 (patch)
tree8274e5382c7b6240899ded2b6c0b3c9440c7d839 /include
parent5270df2836761909864d9b548bf4b7f7f3a51484 (diff)
Revert "spi: atmel: Drop non-dm code"
As we aren't quite able to convert some platforms with a very small size limit in SPL yet, we need to revert this for now. This reverts commit 7b0947787358c6b277431d6b76ce043d8bec641d. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ma5d4evk.h2
-rw-r--r--include/configs/vinco.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/ma5d4evk.h b/include/configs/ma5d4evk.h
index 68fe3bd67ff..ed95e580c00 100644
--- a/include/configs/ma5d4evk.h
+++ b/include/configs/ma5d4evk.h
@@ -86,6 +86,8 @@
* SPI NOR (boot memory)
*/
#ifdef CONFIG_CMD_SF
+#define CONFIG_ATMEL_SPI
+#define CONFIG_ATMEL_SPI0
#define CONFIG_SPI_FLASH_ATMEL
#define CONFIG_SF_DEFAULT_BUS 0
#define CONFIG_SF_DEFAULT_CS 0
diff --git a/include/configs/vinco.h b/include/configs/vinco.h
index d1b56ac037d..ca3958986b7 100644
--- a/include/configs/vinco.h
+++ b/include/configs/vinco.h
@@ -38,6 +38,8 @@
/* SerialFlash */
#ifdef CONFIG_CMD_SF
+#define CONFIG_ATMEL_SPI
+#define CONFIG_ATMEL_SPI0
#define CONFIG_SPI_FLASH_STMICRO
#define CONFIG_SF_DEFAULT_BUS 0
#define CONFIG_SF_DEFAULT_CS 0