From ec56d6f69e79a67bf52d7eec14cf81ee92ed821c Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Sun, 29 May 2022 22:08:21 +0200 Subject: x86/include/arch/boot: Fix header guard While on it, reformat code and remove unused macro. Signed-off-by: Elyes Haouas Change-Id: I63e413820cb3f4dfa21d1692301348ecdb3190b9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64784 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks --- src/arch/x86/include/arch/boot/boot.h | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'src') 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 /* @@ -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 */ -- cgit v1.2.3