From: Jason Li Date: Thu, 30 Jan 2020 20:34:55 +0000 (-0800) Subject: gpio: do not include for Cortina CAxxxx SoCs X-Git-Tag: v2020.04-rc2~8^2~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f267f84b93d026cfcce77fc3f9eba4c57d4ad0e0;p=oweals%2Fu-boot.git gpio: do not include for Cortina CAxxxx SoCs The Cortina CAxxxx GPIO driver maintains DM_GPIO support across different CPU ISA in the CAxxxx Soc Family; Not just ARM. Therefore, it is not desirable to split out and maintain separete gpio header file for each CPU architecture. Reviewed-by: Tom Rini Signed-off-by: Jason Li Signed-off-by: Alex Nemirovsky --- diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio.h index 39ffc18e29..84e5cb46e5 100644 --- a/arch/arm/include/asm/gpio.h +++ b/arch/arm/include/asm/gpio.h @@ -4,8 +4,8 @@ !defined(CONFIG_ARCH_ROCKCHIP) && !defined(CONFIG_ARCH_LX2160A) && \ !defined(CONFIG_ARCH_LS1028A) && !defined(CONFIG_ARCH_LS2080A) && \ !defined(CONFIG_ARCH_LS1088A) && !defined(CONFIG_ARCH_ASPEED) && \ - !defined(CONFIG_ARCH_LS1012A) && \ - !defined(CONFIG_ARCH_U8500) + !defined(CONFIG_ARCH_LS1012A) && !defined(CONFIG_ARCH_U8500) && \ + !defined(CONFIG_CORTINA_PLATFORM) #include #endif #include