All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] cmd: CONFIG_CMD_MMC depends on CONFIG_MMC
@ 2021-03-27 10:43 ` Heinrich Schuchardt
  2021-03-27 12:04   ` Bin Meng
                     ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Heinrich Schuchardt @ 2021-03-27 10:43 UTC (permalink / raw)
  To: u-boot

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@gmx.de>
---
 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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 1/1] cmd: CONFIG_CMD_MMC depends on CONFIG_MMC
  2021-03-27 10:43 ` [PATCH 1/1] cmd: CONFIG_CMD_MMC depends on CONFIG_MMC Heinrich Schuchardt
@ 2021-03-27 12:04   ` Bin Meng
  2021-03-28 23:02   ` Jaehoon Chung
  2021-04-20 14:20   ` Tom Rini
  2 siblings, 0 replies; 4+ messages in thread
From: Bin Meng @ 2021-03-27 12:04 UTC (permalink / raw)
  To: u-boot

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

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/1] cmd: CONFIG_CMD_MMC depends on CONFIG_MMC
  2021-03-27 10:43 ` [PATCH 1/1] cmd: CONFIG_CMD_MMC depends on CONFIG_MMC Heinrich Schuchardt
  2021-03-27 12:04   ` Bin Meng
@ 2021-03-28 23:02   ` Jaehoon Chung
  2021-04-20 14:20   ` Tom Rini
  2 siblings, 0 replies; 4+ messages in thread
From: Jaehoon Chung @ 2021-03-28 23:02 UTC (permalink / raw)
  To: u-boot

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@gmx.de>

Reviewed-by: Jaehoon Chung <jh80.chung@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
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/1] cmd: CONFIG_CMD_MMC depends on CONFIG_MMC
  2021-03-27 10:43 ` [PATCH 1/1] cmd: CONFIG_CMD_MMC depends on CONFIG_MMC Heinrich Schuchardt
  2021-03-27 12:04   ` Bin Meng
  2021-03-28 23:02   ` Jaehoon Chung
@ 2021-04-20 14:20   ` Tom Rini
  2 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2021-04-20 14:20 UTC (permalink / raw)
  To: u-boot

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@gmx.de>
> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
> Reviewed-by: Jaehoon Chung <jh80.chung@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>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-20 14:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20210327104427epcas1p3b780d3071401462371bdb0565ab1cf8e@epcas1p3.samsung.com>
2021-03-27 10:43 ` [PATCH 1/1] cmd: CONFIG_CMD_MMC depends on CONFIG_MMC Heinrich Schuchardt
2021-03-27 12:04   ` Bin Meng
2021-03-28 23:02   ` Jaehoon Chung
2021-04-20 14:20   ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.