[PATCH 1/1] cmd: CONFIG_CMD_MMC depends on CONFIG_MMC
Jaehoon Chung
jh80.chung at samsung.com
Mon Mar 29 01:02:33 CEST 2021
On 3/27/21 7:43 PM, Heinrich Schuchardt wrote:
> 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 <xypron.glpk at gmx.de>
Reviewed-by: Jaehoon Chung <jh80.chung at samsung.com>
Best Regards,
Jaehoon Chung
> ---
> cmd/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index 0107c0fa3e..3ce223bed0 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -1052,6 +1052,7 @@ config CMD_MISC
>
> config CMD_MMC
> bool "mmc"
> + depends on MMC
> help
> MMC memory mapped support.
>
> --
> 2.29.2
>
>
More information about the U-Boot
mailing list