]> git.sur5r.net Git - u-boot/commitdiff
mips: Make u-boot-mips.h a private header
authorSimon Glass <sjg@chromium.org>
Wed, 17 May 2017 14:22:51 +0000 (08:22 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 5 Jun 2017 15:02:33 +0000 (11:02 -0400)
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 <sjg@chromium.org>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
arch/mips/include/asm/u-boot.h
include/common.h

index af03e8d5bee877310b63cf57652dd691287170fb..68985af4b9dda0fbfdfeae1a7e734596d3c96603 100644 (file)
@@ -17,6 +17,7 @@
 
 /* Use the generic board which requires a unified bd_info */
 #include <asm-generic/u-boot.h>
+#include <asm/u-boot-mips.h>
 
 /* For image.h:image_check_target_arch() */
 #define IH_ARCH_DEFAULT IH_ARCH_MIPS
index fe396c57052cfd6271d7969afae875e6edd44b7b..f36fed3843c65f1e4887c48567acc0420425bfb9 100644 (file)
@@ -442,7 +442,7 @@ static inline int setenv_addr(const char *varname, const void *addr)
 # include <asm/u-boot-nds32.h>
 #endif /* CONFIG_NDS32 */
 #ifdef CONFIG_MIPS
-# include <asm/u-boot-mips.h>
+# include <asm/u-boot.h>
 #endif /* CONFIG_MIPS */
 #ifdef CONFIG_ARC
 # include <asm/u-boot.h>