Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86134a1b authored by Matt Fleming's avatar Matt Fleming
Browse files

x86/boot: Cleanup header.S by removing some #ifdefs



handover_offset is now filled out by build.c. Don't set a default value
as it will be overwritten anyway.

Acked-by: default avatarBorislav Petkov <bp@suse.de>
Signed-off-by: default avatarMatt Fleming <matt.fleming@intel.com>
parent 6d0abeca
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -426,13 +426,7 @@ pref_address: .quad LOAD_PHYSICAL_ADDR # preferred load addr
#define INIT_SIZE VO_INIT_SIZE
#endif
init_size:		.long INIT_SIZE		# kernel initialization size
handover_offset:
#ifdef CONFIG_EFI_STUB
  			.long 0x30		# offset to the handover
						# protocol entry point
#else
			.long 0
#endif
handover_offset:	.long 0			# Filled in by build.c

# End of setup header #####################################################