From e8d4fa9057c4d121d3c4c9f2f49cf07e22fb9ee2 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 17 May 2017 08:22:52 -0600 Subject: nds32: Make u-boot-nds32.h a private header Rather than including this arch-specific header file in common.h, include it from within nds32's u-boot.h header. Signed-off-by: Simon Glass diff --git a/arch/nds32/include/asm/u-boot.h b/arch/nds32/include/asm/u-boot.h index 2efdeb1..4378ebf 100644 --- a/arch/nds32/include/asm/u-boot.h +++ b/arch/nds32/include/asm/u-boot.h @@ -20,6 +20,8 @@ #ifndef _U_BOOT_H_ #define _U_BOOT_H_ 1 +#include + #include typedef struct bd_info { diff --git a/include/common.h b/include/common.h index f36fed3..c1e6340 100644 --- a/include/common.h +++ b/include/common.h @@ -439,7 +439,7 @@ static inline int setenv_addr(const char *varname, const void *addr) #ifdef CONFIG_NDS32 # include # include -# include +# include #endif /* CONFIG_NDS32 */ #ifdef CONFIG_MIPS # include -- cgit v0.10.2