[U-Boot] [PATCH] dm: Force to enable DM_SPI and DM_SPI_FLASH

Jagan Teki jagan at amarulasolutions.com
Fri Jul 6 12:11:01 UTC 2018


v2018.09 is migration deadline for SPI/SPI_FLASH dm
converion.

So move on and true it has significant fallout
at present.

Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
---
Note:
Trying to copy all people who involve this change, but
list is too much..hope everyone notice this.

 drivers/core/Kconfig | 1 +
 drivers/spi/Kconfig  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig
index e8ba20ca82..b702dec7d7 100644
--- a/drivers/core/Kconfig
+++ b/drivers/core/Kconfig
@@ -2,6 +2,7 @@ menu "Generic Driver Options"
 
 config DM
 	bool "Enable Driver Model"
+	select DM_SPI
 	help
 	  This config option enables Driver Model. This brings in the core
 	  support, including scanning of platform data on start-up. If
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 3532c2ad46..b160073540 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -6,6 +6,7 @@ if SPI
 config DM_SPI
 	bool "Enable Driver Model for SPI drivers"
 	depends on DM
+	select DM_SPI_FLASH
 	help
 	  Enable driver model for SPI. The SPI slave interface
 	  (spi_setup_slave(), spi_xfer(), etc.) is then implemented by
-- 
2.17.1



More information about the U-Boot mailing list