arch/x86: Always include walkcbfs.S

Let the linker decide if this code is needed.

Change-Id: I26fb19d461db39ce554af7b948f0d10a12920299
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52940
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
Arthur Heymans 2021-05-05 14:20:03 +02:00 committed by Patrick Georgi
parent 4e3658fd57
commit a033d8c808
2 changed files with 1 additions and 2 deletions

View File

@ -91,7 +91,7 @@ else
$(eval $(call early_x86_stage,bootblock,elf64-x86-64)) $(eval $(call early_x86_stage,bootblock,elf64-x86-64))
endif endif
bootblock-$(CONFIG_MICROCODE_UPDATE_PRE_RAM) += walkcbfs.S bootblock-y += walkcbfs.S
endif # CONFIG_ARCH_BOOTBLOCK_X86_32 / CONFIG_ARCH_BOOTBLOCK_X86_64 endif # CONFIG_ARCH_BOOTBLOCK_X86_32 / CONFIG_ARCH_BOOTBLOCK_X86_64

View File

@ -2,7 +2,6 @@
bootblock-y += cache_as_ram_bootblock.S bootblock-y += cache_as_ram_bootblock.S
bootblock-y += bootblock.c bootblock-y += bootblock.c
bootblock-$(CONFIG_ARCH_BOOTBLOCK_X86_64) += $(top)/src/arch/x86/walkcbfs.S
romstage-y += ../intel/car/romstage.c romstage-y += ../intel/car/romstage.c