diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-17 08:22:47 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-05 11:02:31 -0400 |
commit | d6d2d0b5e2ab167dad00345aea7b93ec74a7b3e3 (patch) | |
tree | 2beb9a9ccf4a1bbd2207ce3825bc0366f16471bb | |
parent | 5a8ba315f1cb259b1022e5d85e4034b9bfb2bea5 (diff) | |
download | u-boot-d6d2d0b5e2ab167dad00345aea7b93ec74a7b3e3.zip u-boot-d6d2d0b5e2ab167dad00345aea7b93ec74a7b3e3.tar.gz u-boot-d6d2d0b5e2ab167dad00345aea7b93ec74a7b3e3.tar.bz2 |
arc: Make u-boot-arc.h a private header
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>
-rw-r--r-- | arch/arc/include/asm/u-boot.h | 1 | ||||
-rw-r--r-- | include/common.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/arc/include/asm/u-boot.h b/arch/arc/include/asm/u-boot.h index e354edf..0454872 100644 --- a/arch/arc/include/asm/u-boot.h +++ b/arch/arc/include/asm/u-boot.h @@ -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 diff --git a/include/common.h b/include/common.h index 4707686..b07b8fc 100644 --- a/include/common.h +++ b/include/common.h @@ -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 |