cmd: CONFIG_CMD_MMC depends on CONFIG_MMC
PATCH 1/1 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.
--- cmd/Kconfig | 1 + 1 file changed, 1 insertion(+)
cmd/Kconfig +1 -0
@@ -1052,6 +1052,7 @@ config CMD_MISC config CMD_MMC bool "mmc" + depends on MMC help MMC memory mapped support.
--
2.29.2
PATCH 1/1 cmd: CONFIG_CMD_MMC depends on CONFIG_MMC
Quoted 8 lines · Heinrich Schuchardt
Trying to compile with
CONFIG_CMD_MMC=yandCONFIG_MMC=nleads to errors:riscv64-linux-gnu-ld.bfd:
cmd/built-in.o: in function `do_mmcops':cmd/mmc.c:984: undefined reference toget_mmc_num' riscv64-linux-gnu-ld.bfd: cmd/built-in.o: in functiondo_mmc_setdsr':cmd/mmc.c:873: undefined reference to `find_mmc_device'
Quoted 7 lines
Add missing dependency.
Signed-off-by Heinrich Schuchardt <[email protected]>--- cmd/Kconfig | 1 + 1 file changed, 1 insertion(+)
PATCH 1/1 cmd: CONFIG_CMD_MMC depends on CONFIG_MMC
In reply to Heinrich SchuchardtQuoted 10 lines · Heinrich Schuchardt
Trying to compile with
CONFIG_CMD_MMC=yandCONFIG_MMC=nleads to errors:riscv64-linux-gnu-ld.bfd:
cmd/built-in.o: in function `do_mmcops':cmd/mmc.c:984: undefined reference toget_mmc_num' riscv64-linux-gnu-ld.bfd: cmd/built-in.o: in functiondo_mmc_setdsr':cmd/mmc.c:873: undefined reference to `find_mmc_device'Add missing dependency.
Signed-off-by Heinrich Schuchardt <[email protected]>
Best Regards,
Jaehoon Chung
Quoted 20 lines
--- cmd/Kconfig | 1 + 1 file changed, 1 insertion(+)cmd/Kconfig +1
-1@@ -1052,6 +1052,7 @@ config CMD_MISC config CMD_MMC bool "mmc" + depends on MMC help MMC memory mapped support. --2.29.2
PATCH 1/1 cmd: CONFIG_CMD_MMC depends on CONFIG_MMC
In reply to Heinrich SchuchardtQuoted 7 lines · Heinrich Schuchardt
Trying to compile with
CONFIG_CMD_MMC=yandCONFIG_MMC=nleads to errors:riscv64-linux-gnu-ld.bfd:
cmd/built-in.o: in function `do_mmcops':cmd/mmc.c:984: undefined reference toget_mmc_num' riscv64-linux-gnu-ld.bfd: cmd/built-in.o: in functiondo_mmc_setdsr':cmd/mmc.c:873: undefined reference to `find_mmc_device'
Quoted 5 lines
Add missing dependency.
Signed-off-by Heinrich Schuchardt <[email protected]>Reviewed-by Bin Meng <[email protected]>Reviewed-by Jaehoon Chung <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
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>