From: Jagan Teki Date: Fri, 6 Jul 2018 17:41:01 +0530 Subject: [U-Boot] [PATCH] dm: Force to enable DM_SPI and DM_SPI_FLASH Message-ID: <20180706121101.6585-1-jagan@amarulasolutions.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- 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