[PATCH] ti: keystone: Don't select GPIO_EXTRA_HEADER

Michal Simek michal.simek at amd.com
Fri Jul 15 10:09:39 CEST 2022



On 7/8/22 11:14, Michal Simek wrote:
> keystone doesn't have custom gpio.h that's why don't select
> GPIO_EXTRA_HEADER which points to it.
> 
> Logic in arch/arm/include/asm/gpio.h is very clear
> 
>   #ifdef CONFIG_GPIO_EXTRA_HEADER
>   #include <asm/arch/gpio.h>
>   #endif
>   #include <asm-generic/gpio.h>
> 
> Where it is visible that there is no gpio.h in platform headers:
> $ ls arch/arm/mach-keystone/include/mach/
> clock_defs.h  clock-k2e.h  clock-k2hk.h  ddr3.h      hardware-k2e.h
> hardware-k2hk.h  i2c_defs.h      mon.h   mux-k2g.h   xhci-keystone.h
> clock.h       clock-k2g.h  clock-k2l.h   hardware.h  hardware-k2g.h
> hardware-k2l.h   mmc_host_def.h  msmc.h  psc_defs.h
> 
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
> 
>   arch/arm/Kconfig | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index ef79fc3a0a76..ac3c2ab2e593 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -829,7 +829,6 @@ config ARCH_KEYSTONE
>   	select CMD_POWEROFF
>   	select CPU_V7A
>   	select DDR_SPD
> -	select GPIO_EXTRA_HEADER
>   	select SUPPORT_SPL
>   	select SYS_ARCH_TIMER
>   	select SYS_THUMB_BUILD

I will take this via my tree because it looks like this platform is not actively 
maintained.

Thanks,
Michal


More information about the U-Boot mailing list