summaryrefslogtreecommitdiff
path: root/include/configs/display5.h
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2019-09-03 16:38:43 +0200
committerStefano Babic <sbabic@denx.de>2019-10-08 16:35:59 +0200
commite95b4bdd8dcadeecd516406387604aa56b76804c (patch)
treee9a117941ee1b6378441b0ffd4d334d969f0e9f5 /include/configs/display5.h
parent32e07513833515c6684f8819e176cb62adb55c4d (diff)
DM: SPI: Convert display5 to use SPI with DM/DTS (but no in SPL)
The DM/DTS support for SPI is disabled on purpose for SPL, as it is not supported as of time of this conversion. Signed-off-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'include/configs/display5.h')
-rw-r--r--include/configs/display5.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/configs/display5.h b/include/configs/display5.h
index 6f19e55c70..bbcb5da7bb 100644
--- a/include/configs/display5.h
+++ b/include/configs/display5.h
@@ -35,8 +35,11 @@
* 0x1540000 - 0x1640000 : SPI.factory (1MiB)
*/
-#ifndef CONFIG_SPL_BUILD
-#define CONFIG_SPI_FLASH_MTD
+/* SPI Flash Configs */
+#if defined(CONFIG_SPL_BUILD)
+#undef CONFIG_DM_SPI
+#undef CONFIG_DM_SPI_FLASH
+#undef CONFIG_SPI_FLASH_MTD
#endif
/* Below values are "dummy" - only to avoid build break */