summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-17 14:22:49 (GMT)
committerTom Rini <trini@konsulko.com>2017-06-05 15:02:32 (GMT)
commit6862b50f6eebf4379e6d3b74a64378988e8e2961 (patch)
treee1216104926935c0095c56ef4e152deced5874a5 /include/common.h
parent86e748d946d4c3b0cb867fba2d9367199fb0adfe (diff)
downloadu-boot-6862b50f6eebf4379e6d3b74a64378988e8e2961.tar.xz
x86: Make u-boot-x86.h a private header
Rather than including this arch-specific header file in common.h, include it from within x86's u-boot.h header. Also drop the comment about something to be fixed. It is not clear what needs fixing. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/common.h b/include/common.h
index ffaed49..229ca4c 100644
--- a/include/common.h
+++ b/include/common.h
@@ -430,8 +430,8 @@ static inline int setenv_addr(const char *varname, const void *addr)
# include <asm/setup.h>
# include <asm/u-boot-arm.h> /* ARM version to be fixed! */
#endif /* CONFIG_ARM */
-#ifdef CONFIG_X86 /* x86 version to be fixed! */
-# include <asm/u-boot-x86.h>
+#ifdef CONFIG_X86
+# include <asm/u-boot.h>
#endif /* CONFIG_X86 */
#ifdef CONFIG_SANDBOX
# include <asm/u-boot.h>