summaryrefslogtreecommitdiff
path: root/include/configs/ls1021atwr.h
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2020-06-04 23:11:52 +0800
committerTom Rini <trini@konsulko.com>2020-06-29 13:34:43 -0400
commit28964227069d3f0ff3110b8064d547f6cd9fcfa6 (patch)
tree16908165e841adefa0e68693bf07a7fdb67084ab /include/configs/ls1021atwr.h
parent044a66cb83a7cff9799a4b2b1815b604f1781dc0 (diff)
spi: Move DM_SPI_FLASH and SPI_FLASH_DATAFLASH to Kconfig (for ls1021aXXX)
This patch moves the CONFIG_DM_SPI_FLASH and CONFIG_SPI_FLASH_DATAFLASH to be defined in Kconfig, not in board specific header file (include/configs/<board>.h). Before this change the CONFIG_DM_SPI_FLASH was not set in .config (so it was not possible to use CONFIG_IS_ENABLED(DM_SPI_FLASH) in SPI DM/DTS converted drivers), but it was set in u-boot.cfg file. Signed-off-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Diffstat (limited to 'include/configs/ls1021atwr.h')
-rw-r--r--include/configs/ls1021atwr.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index 53a10ba4dd..16c30d09dc 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -234,11 +234,6 @@
* MMC
*/
-/* DM SPI */
-#if defined(CONFIG_FSL_DSPI) || defined(CONFIG_FSL_QSPI)
-#define CONFIG_DM_SPI_FLASH
-#endif
-
/*
* Video
*/