aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2018-12-14 22:04:12 +0530
committerJagan Teki <jagan@amarulasolutions.com>2019-01-02 01:00:31 +0530
commit99a17dd53d685ebe1c092830aa89915132f86195 (patch)
treeccf4a1ba2dd91d9ef5410bf09238c284a2634935 /Makefile
parentcdf72c188c62b8ac20e5a2e1abbd45bc721e2ff9 (diff)
downloadu-boot-99a17dd53d685ebe1c092830aa89915132f86195.zip
u-boot-99a17dd53d685ebe1c092830aa89915132f86195.tar.gz
u-boot-99a17dd53d685ebe1c092830aa89915132f86195.tar.bz2
dm: MIGRATION: Update migration plan for SPI
- v2019.04 for no dm conversion drivers - v2019.07 for partially converted drivers. Note: there were many updates on this deadline, so better not update this again. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a8461dd..c4d827f 100644
--- a/Makefile
+++ b/Makefile
@@ -954,6 +954,17 @@ ifeq ($(CONFIG_OF_EMBED),y)
@echo >&2 "See doc/README.fdt-control for more info."
@echo >&2 "===================================================="
endif
+ifeq ($(CONFIG_SPI),y)
+ifneq ($(CONFIG_DM_SPI)$(CONFIG_OF_CONTROL),yy)
+ @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 "===================================================="
+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.