From a320acc419cad588d0e340572740fe0081ead914 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 17 May 2017 08:22:51 -0600 Subject: mips: Make u-boot-mips.h a private header Rather than including this arch-specific header file in common.h, include it from within mips's u-boot.h header. Signed-off-by: Simon Glass Reviewed-by: Daniel Schwierzeck diff --git a/arch/mips/include/asm/u-boot.h b/arch/mips/include/asm/u-boot.h index af03e8d..68985af 100644 --- a/arch/mips/include/asm/u-boot.h +++ b/arch/mips/include/asm/u-boot.h @@ -17,6 +17,7 @@ /* Use the generic board which requires a unified bd_info */ #include +#include /* For image.h:image_check_target_arch() */ #define IH_ARCH_DEFAULT IH_ARCH_MIPS diff --git a/include/common.h b/include/common.h index fe396c5..f36fed3 100644 --- a/include/common.h +++ b/include/common.h @@ -442,7 +442,7 @@ static inline int setenv_addr(const char *varname, const void *addr) # include #endif /* CONFIG_NDS32 */ #ifdef CONFIG_MIPS -# include +# include #endif /* CONFIG_MIPS */ #ifdef CONFIG_ARC # include -- cgit v0.10.2