]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
gpio: do not include <asm/arch/gpio.h> on TARGET_BCMNS3
authorRayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
Tue, 5 May 2020 17:56:47 +0000 (23:26 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 29 Jul 2020 14:37:11 +0000 (10:37 -0400)
As no gpio.h is defined for this architecture, to avoid
compilation failure, do not include <asm/arch/gpio.h> for
arch bcmns3.

Signed-off-by: Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/gpio.h

index 7715a01706c85b274eaee7f85e5b6253bf497856..7dc87afb83a80e4a6b0731d2b678f577844c50a4 100644 (file)
@@ -2,7 +2,8 @@
        !defined(CONFIG_ARCH_K3) && !defined(CONFIG_ARCH_BCM68360) && \
        !defined(CONFIG_ARCH_BCM6858) && !defined(CONFIG_ARCH_BCM63158) && \
        !defined(CONFIG_ARCH_ROCKCHIP) && !defined(CONFIG_ARCH_ASPEED) && \
-       !defined(CONFIG_ARCH_U8500) && !defined(CONFIG_CORTINA_PLATFORM)
+       !defined(CONFIG_ARCH_U8500) && !defined(CONFIG_CORTINA_PLATFORM) && \
+       !defined(CONFIG_TARGET_BCMNS3)
 #include <asm/arch/gpio.h>
 #endif
 #include <asm-generic/gpio.h>