diff mbox series

[U-Boot,PATCHv2,09/11] spi: Kconfig: Mark FSL_ESPI as DEPRECATED

Message ID 1558273931-1415-9-git-send-email-trini@konsulko.com
State Superseded
Delegated to: Tom Rini
Headers show
Series [U-Boot,PATCHv2,01/11] configs: Migrate CONFIG_FMAN_ETH and some related options to Kconfig | expand

Commit Message

Tom Rini May 19, 2019, 1:52 p.m. UTC
From: Jagan Teki <jagan@amarulasolutions.com>

Mark FSL_ESPI as DEPRECATED, this so the resulting build shows
warning for deprecated configuration enabled and associated code
will remove in v2019.07 release.

Cc: Oleksandr Zhadan and Michael Durrant <arcsupport@arcturusnetworks.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
[trini: Switch to DEPRECATED]
Signed-off-by: Tom Rini <trini@konsulko.com>
---
 drivers/qe/Kconfig  | 1 +
 drivers/spi/Kconfig | 1 +
 2 files changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/drivers/qe/Kconfig b/drivers/qe/Kconfig
index 864b36b82252..824a69a3d3de 100644
--- a/drivers/qe/Kconfig
+++ b/drivers/qe/Kconfig
@@ -32,6 +32,7 @@  config SYS_QE_FMAN_FW_IN_NAND
 
 config SYS_QE_FMAN_FW_IN_SPIFLASH
 	bool "SPI flash"
+	depends on BROKEN || DM_SPI
 
 config SYS_QE_FMAN_FW_IN_MMC
 	bool "MMC"
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index e5477d5a110d..201a4d970a95 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -323,6 +323,7 @@  config CF_SPI
 
 config FSL_ESPI
 	bool "Freescale eSPI driver"
+	depends on DEPRECATED
 	help
 	  Enable the Freescale eSPI driver. This driver can be used to
 	  access the SPI interface and SPI NOR flash on platforms embedding