diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-17 08:22:56 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-05 11:02:35 -0400 |
commit | 3ff240c92f516841d8aff3b7d9268763711f2afd (patch) | |
tree | 711052c15b6862232e6f0c771699c2454c494f94 /arch/x86/include/asm/u-boot-x86.h | |
parent | 587b6226aa1f52a0c679443b0d1a3c9445fe39aa (diff) |
x86: Don't include asm/u-boot.h in common
With a small fixup to u-boot-x86.h, this is not actually needed anywhere,
so drop it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include/asm/u-boot-x86.h')
-rw-r--r-- | arch/x86/include/asm/u-boot-x86.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/include/asm/u-boot-x86.h b/arch/x86/include/asm/u-boot-x86.h index d55455f2d0..187fe5fd8c 100644 --- a/arch/x86/include/asm/u-boot-x86.h +++ b/arch/x86/include/asm/u-boot-x86.h @@ -8,13 +8,15 @@ #ifndef _U_BOOT_I386_H_ #define _U_BOOT_I386_H_ 1 +struct global_data; + extern char gdt_rom[]; /* cpu/.../cpu.c */ int arch_cpu_init(void); int x86_cpu_init_f(void); int cpu_init_f(void); -void setup_gdt(gd_t *id, u64 *gdt_addr); +void setup_gdt(struct global_data *id, u64 *gdt_addr); /* * Setup FSP execution environment GDT to use the one we used in * arch/x86/cpu/start16.S and reload the segment registers. |