]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
gpio: do not include <asm/arch/gpio.h> for Cortina CAxxxx SoCs
authorJason Li <jason.li@cortina-access.com>
Thu, 30 Jan 2020 20:34:55 +0000 (12:34 -0800)
committerTom Rini <trini@konsulko.com>
Fri, 7 Feb 2020 19:01:21 +0000 (14:01 -0500)
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 <trini@konsulko.com>
Signed-off-by: Jason Li <jason.li@cortina-access.com>
Signed-off-by: Alex Nemirovsky <alex.nemirovsky@cortina-access.com>
arch/arm/include/asm/gpio.h

index 39ffc18e29ef6562153cbc705c41e67664a92d71..84e5cb46e5a9de9079859f4163e74300878d46b4 100644 (file)
@@ -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 <asm/arch/gpio.h>
 #endif
 #include <asm-generic/gpio.h>