From ec611871f3eb366f7efd557167ec2284e5f5069b Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Sat, 27 Mar 2021 11:43:54 +0100 Subject: cmd: CONFIG_CMD_MMC depends on CONFIG_MMC Trying to compile with CONFIG_CMD_MMC=y and CONFIG_MMC=n leads to errors: riscv64-linux-gnu-ld.bfd: cmd/built-in.o: in function `do_mmcops': cmd/mmc.c:984: undefined reference to `get_mmc_num' riscv64-linux-gnu-ld.bfd: cmd/built-in.o: in function `do_mmc_setdsr': cmd/mmc.c:873: undefined reference to `find_mmc_device' Add missing dependency. Signed-off-by: Heinrich Schuchardt Reviewed-by: Bin Meng Reviewed-by: Jaehoon Chung --- cmd/Kconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd') diff --git a/cmd/Kconfig b/cmd/Kconfig index f4cff0c125..2b66285e0d 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1067,6 +1067,7 @@ config CMD_MISC config CMD_MMC bool "mmc" + depends on MMC help MMC memory mapped support. -- cgit v1.2.3