diff options
author | Tom Rini <trini@konsulko.com> | 2019-01-02 14:20:29 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-01-02 14:20:29 -0500 |
commit | 695f67b5b3693232406a5cb3590d8fc5860c9f6c (patch) | |
tree | 0d45dc4ddd121e89665effc515c0091b288156dc /Makefile | |
parent | f97c49d6a2f504d0f0a8aab37c67aa314e006250 (diff) | |
parent | 689795242b1cb7de5a3d8c8bf1a9582a8924ff69 (diff) | |
download | u-boot-695f67b5b3693232406a5cb3590d8fc5860c9f6c.zip u-boot-695f67b5b3693232406a5cb3590d8fc5860c9f6c.tar.gz u-boot-695f67b5b3693232406a5cb3590d8fc5860c9f6c.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-spi
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -954,6 +954,27 @@ 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 +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. |