diff --git a/src/cpu/x86/Makefile.mk b/src/cpu/x86/Makefile.mk index 26e5d9c9c2..d9fbf2fddc 100644 --- a/src/cpu/x86/Makefile.mk +++ b/src/cpu/x86/Makefile.mk @@ -34,7 +34,6 @@ subdirs-$(CONFIG_CPU_INTEL_COMMON_SMM) += ../intel/smm bootblock-y += entry32.S bootblock-y += entry16.S -bootblock-y += reset16.S additional-dirs += $(obj)/cpu/x86 diff --git a/src/cpu/x86/entry16.S b/src/cpu/x86/entry16.S index b19ffa5d6a..ca2eb6067b 100644 --- a/src/cpu/x86/entry16.S +++ b/src/cpu/x86/entry16.S @@ -151,3 +151,9 @@ nullidt: .word 0 /* limit */ .long 0 .word 0 + + /* This is the first instruction the CPU runs when coming out of reset. */ +.section ".reset", "ax", %progbits +.globl _start +_start: + jmp _start16bit diff --git a/src/cpu/x86/reset16.S b/src/cpu/x86/reset16.S deleted file mode 100644 index 9cc85c9746..0000000000 --- a/src/cpu/x86/reset16.S +++ /dev/null @@ -1,7 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - - .section ".reset", "ax", %progbits - .code16 -.globl _start -_start: - jmp _start16bit