summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2018-12-24 03:22:25 +0530
committerJagan Teki <jagan@amarulasolutions.com>2019-01-02 01:00:31 +0530
commit689795242b1cb7de5a3d8c8bf1a9582a8924ff69 (patch)
tree53d09a17009d786a9ab710d991df605c53214a2b /Makefile
parent99a17dd53d685ebe1c092830aa89915132f86195 (diff)
dm: MIGRATION: Update migration plan for DM_SPI_FLASH
Migration plan for DM_SPI_FLASH is v2019.07 since it depends on DM_SPI migration. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c4d827f259..3e926d839f 100644
--- a/Makefile
+++ b/Makefile
@@ -965,6 +965,16 @@ ifneq ($(CONFIG_DM_SPI)$(CONFIG_OF_CONTROL),yy)
@echo >&2 "===================================================="
endif
endif
+ifeq ($(CONFIG_SPI_FLASH),y)
+ifneq ($(CONFIG_DM_SPI_FLASH)$(CONFIG_OF_CONTROL),yy)
+ @echo >&2 "===================== WARNING ======================"
+ @echo >&2 "This board does not use CONFIG_DM_SPI_FLASH. Please update"
+ @echo >&2 "the board to use CONFIG_SPI_FLASH before the v2019.07 release."
+ @echo >&2 "Failure to update by the deadline may result in board removal."
+ @echo >&2 "See doc/driver-model/MIGRATION.txt for more info."
+ @echo >&2 "===================================================="
+endif
+endif
@# Check that this build does not use CONFIG options that we do not
@# know about unless they are in Kconfig. All the existing CONFIG
@# options are whitelisted, so new ones should not be added.