diff mbox series

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

Message ID 20180706121101.6585-1-jagan@amarulasolutions.com
State Superseded
Delegated to: Jagannadha Sutradharudu Teki
Headers show
Series [U-Boot] dm: Force to enable DM_SPI and DM_SPI_FLASH | expand

Commit Message

Jagan Teki July 6, 2018, 12:11 p.m. UTC
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@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(+)

Comments

Tom Rini July 6, 2018, 12:31 p.m. UTC | #1
On Fri, Jul 06, 2018 at 05:41:01PM +0530, Jagan Teki wrote:

> 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@amarulasolutions.com>
> ---
> Note:
> Trying to copy all people who involve this change, but
> list is too much..hope everyone notice this.

Please send an email with everyone that has things failing in the to
line, and yes, it will be a bit of work, but it's the only way.  If
needed, you can break the email up into a few instances.  Thanks!
diff mbox series

Patch

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