From: Michal Simek Date: Thu, 6 Jun 2024 14:44:54 +0000 (+0200) Subject: gpio: Add proper dependency on ZYNQMP_FIRMWARE X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=62a3e4016ab1938b1c2a2639eb772b31e98c25b6;p=u-boot.git gpio: Add proper dependency on ZYNQMP_FIRMWARE ZYNQMP_FIRMWARE can be disabled and driver depends on it that's why record this dependency via Kconfig. Signed-off-by: Michal Simek Link: https://lore.kernel.org/r/c3ca38fbb2f4e6948a5ef95b369015de96259709.1717685091.git.michal.simek@amd.com --- diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 2c0e244b9e..fcca6941eb 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -639,7 +639,7 @@ config NOMADIK_GPIO config ZYNQMP_GPIO_MODEPIN bool "ZynqMP gpio modepin" - depends on DM_GPIO + depends on DM_GPIO && ZYNQMP_FIRMWARE help This config enables the ZynqMP gpio modepin driver. ZynqMP modepin driver will set and get the status of PS_MODE pins. These modepins