arc: Make u-boot-arc.h a private header
authorSimon Glass <sjg@chromium.org>
Wed, 17 May 2017 14:22:47 +0000 (08:22 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 5 Jun 2017 15:02:31 +0000 (11:02 -0400)
Rather than including this arch-specific header file in common.h, include
it from within arc's u-boot.h header.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arc/include/asm/u-boot.h
include/common.h

index e354edf95de4e56891b67b2a78fb4c729c8690ed..045487278ef0db8927d47ac4618b07d424aeffb6 100644 (file)
@@ -8,6 +8,7 @@
 #define __ASM_ARC_U_BOOT_H__
 
 #include <asm-generic/u-boot.h>
+#include <asm/u-boot-arc.h>
 
 /* For image.h:image_check_target_arch() */
 #define IH_ARCH_DEFAULT IH_ARCH_ARC
index 47076869c13dfe119e4f1eb2844e39833bc27a0d..b07b8fc6da90a522478a032831749284e6d845cc 100644 (file)
@@ -445,7 +445,7 @@ static inline int setenv_addr(const char *varname, const void *addr)
 # include <asm/u-boot-mips.h>
 #endif /* CONFIG_MIPS */
 #ifdef CONFIG_ARC
-# include <asm/u-boot-arc.h>
+# include <asm/u-boot.h>
 #endif /* CONFIG_ARC */
 
 #ifdef CONFIG_AUTO_COMPLETE