[U-Boot] [PATCH 29/42] gpio: do not include <asm/arch/gpio.h> for ARCH_LS1046A

Biwen Li biwen.li at nxp.com
Thu Nov 14 10:36:28 UTC 2019


As no gpio.h is defined for this architecture, to
avoid compilation failure, do not include <asm/arch/gpio.h> for
SoC LS1046A.

Signed-off-by: Biwen Li <biwen.li at nxp.com>
---
 arch/arm/include/asm/gpio.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio.h
index 45cb04801c..9adebf6c04 100644
--- a/arch/arm/include/asm/gpio.h
+++ b/arch/arm/include/asm/gpio.h
@@ -4,6 +4,7 @@
 	!defined(CONFIG_ARCH_LX2160A) && !defined(CONFIG_ARCH_LS1028A) && \
 	!defined(CONFIG_ARCH_LS2080A) && !defined(CONFIG_ARCH_LS1088A) && \
 	!defined(CONFIG_ARCH_LS1012A) && !defined(CONFIG_ARCH_LS1043A) && \
+	!defined(CONFIG_ARCH_LS1046A) && \
 	!defined(CONFIG_ARCH_ASPEED)
 #include <asm/arch/gpio.h>
 #endif
-- 
2.17.1



More information about the U-Boot mailing list