All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH u-boot] cmd: pinmux: depend on PINCTRL
@ 2021-02-09 20:23 Marek Behún
  2021-02-10 21:34 ` Simon Glass
  2021-02-25 13:25 ` Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Marek Behún @ 2021-02-09 20:23 UTC (permalink / raw)
  To: u-boot

The pinmux command uses functions pinctrl_get_pin_*(), which are missing
if PINCTRL config option is disabled.

Signed-off-by: Marek Beh?n <marek.behun@nic.cz>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
---
 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 928a2a0a2d..4defbd9cf9 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1188,6 +1188,7 @@ config CMD_PCI
 
 config CMD_PINMUX
 	bool "pinmux - show pins muxing"
+	depends on PINCTRL
 	default y if PINCTRL
 	help
 	  Parse all available pin-controllers and show pins muxing. This
-- 
2.26.2

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

* [PATCH u-boot] cmd: pinmux: depend on PINCTRL
  2021-02-09 20:23 [PATCH u-boot] cmd: pinmux: depend on PINCTRL Marek Behún
@ 2021-02-10 21:34 ` Simon Glass
  2021-02-25 13:25 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2021-02-10 21:34 UTC (permalink / raw)
  To: u-boot

On Tue, 9 Feb 2021 at 13:24, Marek Beh?n <marek.behun@nic.cz> wrote:
>
> The pinmux command uses functions pinctrl_get_pin_*(), which are missing
> if PINCTRL config option is disabled.
>
> Signed-off-by: Marek Beh?n <marek.behun@nic.cz>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Tom Rini <trini@konsulko.com>
> ---
>  cmd/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>

Reviewed-by: Simon Glass <sjg@chromium.org>

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

* [PATCH u-boot] cmd: pinmux: depend on PINCTRL
  2021-02-09 20:23 [PATCH u-boot] cmd: pinmux: depend on PINCTRL Marek Behún
  2021-02-10 21:34 ` Simon Glass
@ 2021-02-25 13:25 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2021-02-25 13:25 UTC (permalink / raw)
  To: u-boot

On Tue, Feb 09, 2021 at 09:23:47PM +0100, Marek Beh?n wrote:

> The pinmux command uses functions pinctrl_get_pin_*(), which are missing
> if PINCTRL config option is disabled.
> 
> Signed-off-by: Marek Beh?n <marek.behun@nic.cz>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Tom Rini <trini@konsulko.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>

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/20210225/10d0f604/attachment.sig>

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

end of thread, other threads:[~2021-02-25 13:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-09 20:23 [PATCH u-boot] cmd: pinmux: depend on PINCTRL Marek Behún
2021-02-10 21:34 ` Simon Glass
2021-02-25 13:25 ` 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.