summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorVignesh R <vigneshr@ti.com>2016-07-06 09:58:57 +0530
committerJagan Teki <jteki@openedev.com>2016-07-09 20:16:30 +0530
commit39832244231eab3629f412f1a679779316c6e3e8 (patch)
tree9570036fcc09cd10e3a80d9e7fa99cc68ff0300c /include/configs
parent192bb756dca3d6285a685c6b645b59190b28f4b5 (diff)
keystone2: spi: do not define DM_SPI and DM_SPI_FLASH for SPL build
Since Keystone2 devices do not have support DM in SPL, do not define DM_SPI and DM_SPI_FLASH for SPL build. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/ti_armv7_keystone2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/ti_armv7_keystone2.h b/include/configs/ti_armv7_keystone2.h
index 2ee26c40367..4aa262e1a87 100644
--- a/include/configs/ti_armv7_keystone2.h
+++ b/include/configs/ti_armv7_keystone2.h
@@ -89,6 +89,10 @@
#define CONFIG_SYS_SPI2
#define CONFIG_SYS_SPI2_BASE KS2_SPI2_BASE
#define CONFIG_SYS_SPI2_NUM_CS 4
+#ifdef CONFIG_SPL_BUILD
+#undef CONFIG_DM_SPI
+#undef CONFIG_DM_SPI_FLASH
+#endif
/* Network Configuration */
#define CONFIG_PHYLIB