Skip to contentSkip to conversation

cmd: pinmux: depend on PINCTRL

PATCH New Marek Behún 3 participants 3 messages Feb 9, 2021 – Feb 25, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cmd: pinmux: depend on PINCTRL

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

---
 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)
cmd/Kconfig +1 -0
index 928a2a0a2d..4defbd9cf9 100644
@@ -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
Signature · 1 line
2.26.2
#2 lore raw

PATCH 1/1 cmd: pinmux: depend on PINCTRL

In reply to Marek Behún
Quoted 7 lines · Marek Beh?n

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

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