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

Tom Rini trini at konsulko.com
Sun May 19 13:52:09 UTC 2019


From: Jagan Teki <jagan at 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 at arcturusnetworks.com>
Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
[trini: Switch to DEPRECATED]
Signed-off-by: Tom Rini <trini at konsulko.com>
---
 drivers/qe/Kconfig  | 1 +
 drivers/spi/Kconfig | 1 +
 2 files changed, 2 insertions(+)

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
-- 
2.7.4



More information about the U-Boot mailing list