[U-Boot,PATCHv2,05/11] Makefile: Trigger a warning for legcay spi drivers
diff mbox series

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

Commit Message

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

We have a warning text for non dm converted spi drivers, but the plan is
to mark all these respective drivers with CONFIG_DEPRECATED.

So, trigger a warning saying that these driver configurations and
associated code will remove in v2019.07 (earlier plan is to remove it
from v2019.04)

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
 Makefile | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

diff mbox series

diff --git a/Makefile b/Makefile
index 3547c95103e2..6b73d0f89e4a 100644
--- a/Makefile
+++ b/Makefile
@@ -920,6 +920,11 @@  cmd_cfgcheck = $(srctree)/scripts/check-config.sh $2 \
 all:		$(ALL-y)
 	$(warning "You have deprecated configuration options enabled in your .config! Please check your configuration.")
+ifeq ($(CONFIG_SPI),y)
+	$(warning "The relevant config item with associated code will remove in v2019.07 release.")
 	@echo >&2 "===================== WARNING ======================"
@@ -997,17 +1002,6 @@  ifeq ($(CONFIG_OF_EMBED),y)
 	@echo >&2 "See doc/README.fdt-control for more info."
 	@echo >&2 "===================================================="
-ifeq ($(CONFIG_SPI),y)
-	@echo >&2 "===================== WARNING ======================"
-	@echo >&2 "This board does not use CONFIG_DM_SPI. Please update"
-	@echo >&2 "the board before v2019.04 for no dm conversion"
-	@echo >&2 "and v2019.07 for partially dm converted drivers."
-	@echo >&2 "Failure to update can lead to driver/board removal"
-	@echo >&2 "See doc/driver-model/MIGRATION.txt for more info."
-	@echo >&2 "===================================================="
 ifeq ($(CONFIG_SPI_FLASH),y)
 	@echo >&2 "===================== WARNING ======================"