[PATCH 1/1] cmd: CONFIG_CMD_MMC depends on CONFIG_MMC

Bin Meng bmeng.cn at gmail.com
Sat Mar 27 13:04:24 CET 2021


On Sat, Mar 27, 2021 at 6:44 PM Heinrich Schuchardt <xypron.glpk at gmx.de> 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>
> ---
>  cmd/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list