Makefile: allow dm_mmc without of_control
authorMarcel Ziswiler <marcel@ziswiler.com>
Mon, 20 May 2019 00:44:56 +0000 (02:44 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 30 Jun 2020 15:12:28 +0000 (11:12 -0400)
Allow for CONFIG_DM_MMC with platform data rather than
CONFIG_OF_CONTROL.

Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
Makefile

index 37964a8..3525ab3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1025,7 +1025,7 @@ ifneq ($(CONFIG_DM),y)
        @echo >&2 "===================================================="
 endif
 ifeq ($(CONFIG_MMC),y)
-ifneq ($(CONFIG_DM_MMC)$(CONFIG_OF_CONTROL)$(CONFIG_BLK),yyy)
+ifneq ($(CONFIG_DM_MMC)$(CONFIG_BLK),yy)
        @echo >&2 "===================== WARNING ======================"
        @echo >&2 "This board does not use CONFIG_DM_MMC. Please update"
        @echo >&2 "the board to use CONFIG_DM_MMC before the v2019.04 release."