Re: [U-Boot] [PATCH v1 04/10] Makefile: allow dm_mmc without of_control

2020-06-30 Thread Tom Rini
On Mon, May 20, 2019 at 02:44:56AM +0200, Marcel Ziswiler wrote:

> Allow for CONFIG_DM_MMC with platform data rather than
> CONFIG_OF_CONTROL.
> 
> Signed-off-by: Marcel Ziswiler 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Re: [U-Boot] [PATCH v1 04/10] Makefile: allow dm_mmc without of_control

2019-05-20 Thread Simon Glass
Hi Marcel,

On Sun, 19 May 2019 at 18:45, Marcel Ziswiler  wrote:
>
> Allow for CONFIG_DM_MMC with platform data rather than
> CONFIG_OF_CONTROL.

I don't think we want this.

Or put it another way, why do we want this? Can you add a motivation here?

Can you use OF_PLATDATA instead?

>
> Signed-off-by: Marcel Ziswiler 
>
> ---
>
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Regards,
Simon
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH v1 04/10] Makefile: allow dm_mmc without of_control

2019-05-19 Thread Marcel Ziswiler
Allow for CONFIG_DM_MMC with platform data rather than
CONFIG_OF_CONTROL.

Signed-off-by: Marcel Ziswiler 

---

 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 6eb08a5724..eb08aaea75 100644
--- a/Makefile
+++ b/Makefile
@@ -926,7 +926,7 @@ ifeq ($(CONFIG_DM_I2C_COMPAT)$(CONFIG_SANDBOX),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."
-- 
2.21.0

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot