From: Jagan Teki <ja...@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 <arcsupp...@arcturusnetworks.com>
Signed-off-by: Jagan Teki <ja...@amarulasolutions.com>
[trini: Switch to DEPRECATED]
Signed-off-by: Tom Rini <tr...@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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to