From: Marcel Ziswiler <marcel@ziswiler.com>
Date: Mon, 20 May 2019 00:44:56 +0000 (+0200)
Subject: Makefile: allow dm_mmc without of_control
X-Git-Tag: v2025.01-rc5-pxa1908~2332^2~5^2~6
X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B?a=commitdiff_plain;h=f992af81e9530918d58d5c7c09fabe93d03d0ac2;p=u-boot.git

Makefile: allow dm_mmc without of_control

Allow for CONFIG_DM_MMC with platform data rather than
CONFIG_OF_CONTROL.

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

diff --git a/Makefile b/Makefile
index 37964a8ac6..3525ab3a98 100644
--- 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."