]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cmd: pinmux: depend on PINCTRL
authorMarek Behún <marek.behun@nic.cz>
Tue, 9 Feb 2021 20:23:47 +0000 (21:23 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 24 Feb 2021 21:51:48 +0000 (16:51 -0500)
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>
cmd/Kconfig

index 928a2a0a2de60d2f473d324dc816992dc99466d3..4defbd9cf9cfe9d091484afc04ebdaa21e237b1d 100644 (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