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>
This commit is contained in:
Simon Glass 2017-05-17 08:22:49 -06:00 committed by Tom Rini
parent 86e748d946
commit 6862b50f6e
2 changed files with 3 additions and 2 deletions

View file

@ -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>