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>
This commit is contained in:
Marek Behún 2021-02-09 21:23:47 +01:00 committed by Tom Rini
parent 4e040b4d24
commit a70abcff5e

View file

@ -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