On Sat, Mar 27, 2021 at 6:44 PM Heinrich Schuchardt <[email protected]> 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 <[email protected]> > --- > cmd/Kconfig | 1 + > 1 file changed, 1 insertion(+) >
Reviewed-by: Bin Meng <[email protected]>

