[PATCH] gpio: Add proper dependency on ZYNQMP_FIRMWARE

Michal Simek michal.simek at amd.com
Mon Jun 17 15:30:20 CEST 2024



On 6/6/24 16:44, Michal Simek wrote:
> ZYNQMP_FIRMWARE can be disabled and driver depends on it that's why record
> this dependency via Kconfig.
> 
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
> 
>   drivers/gpio/Kconfig | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index b050585389bb..93c5125fed9b 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

applied.
M


More information about the U-Boot mailing list