diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2022-05-29 22:08:21 +0200 |
---|---|---|
committer | Paul Fagerburg <pfagerburg@chromium.org> | 2022-05-31 13:47:29 +0000 |
commit | ec56d6f69e79a67bf52d7eec14cf81ee92ed821c (patch) | |
tree | c6c310634cb04274723c9a67a6bd87033d0be227 /src/arch/x86 | |
parent | c71fa97038c995ec844a9b97079250fd7f483f47 (diff) |
x86/include/arch/boot: Fix header guard
While on it, reformat code and remove unused macro.
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Change-Id: I63e413820cb3f4dfa21d1692301348ecdb3190b9
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64784
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Diffstat (limited to 'src/arch/x86')
-rw-r--r-- | src/arch/x86/include/arch/boot/boot.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/arch/x86/include/arch/boot/boot.h b/src/arch/x86/include/arch/boot/boot.h index 1ef927e0fb..e719d20aa5 100644 --- a/src/arch/x86/include/arch/boot/boot.h +++ b/src/arch/x86/include/arch/boot/boot.h @@ -1,11 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef ASM_I386_BOOT_H -#define ASM_I386_BOOT_H - -#define ELF_CLASS ELFCLASS32 -#define ELF_DATA ELFDATA2LSB -#define ELF_ARCH EM_386 +#ifndef X86_BOOT_H +#define X86_BOOT_H #include <types.h> /* @@ -15,7 +11,6 @@ * * @noreturn */ -void protected_mode_jump(uint32_t func_ptr, - uint32_t argument); +void protected_mode_jump(uint32_t func_ptr, uint32_t argument); -#endif /* ASM_I386_BOOT_H */ +#endif /* X86_BOOT_H */ |