summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2021-02-09 21:23:47 +0100
committerTom Rini <trini@konsulko.com>2021-02-24 16:51:48 -0500
commita70abcff5edb63ee62976ddfe881a8496e540d12 (patch)
treeb580a490a84114984578e39768ffdf2be9da1071 /cmd
parent4e040b4d245a09c4c9e2c3a9e0b023c5eb00a452 (diff)
downloadu-boot-a70abcff5edb63ee62976ddfe881a8496e540d12.tar.gz
u-boot-a70abcff5edb63ee62976ddfe881a8496e540d12.tar.bz2
u-boot-a70abcff5edb63ee62976ddfe881a8496e540d12.zip
cmd: pinmux: depend on PINCTRL
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>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig1
1 files changed, 1 insertions, 0 deletions
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