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

Tom Rini trini at konsulko.com
Tue Apr 20 16:20:29 CEST 2021


On Sat, Mar 27, 2021 at 11:43:54AM +0100, 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: Bin Meng <bmeng.cn at gmail.com>
> Reviewed-by: Jaehoon Chung <jh80.chung at samsung.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210420/cbfa1feb/attachment.sig>


More information about the U-Boot mailing list