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>
diff --git a/src/arch/x86/include/arch/boot/boot.h b/src/arch/x86/include/arch/boot/boot.h
index 1ef927e..e719d20 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 */