walkcbfs: Only compile on x86_32
The current implementation was designed for x86_32, so don't attempt to compile it on x86_64 until it is fixed. Fixes compilation error on x86_64. Change-Id: Ibd87dc2979f6d45a988119c06c5f9e61b3e86171 Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/c/31467 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
parent
71da5fe5e9
commit
4d60d96497
|
@ -122,7 +122,7 @@ else
|
||||||
$(eval $(call early_x86_stage,bootblock,elf64-x86-64))
|
$(eval $(call early_x86_stage,bootblock,elf64-x86-64))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
bootblock-y += walkcbfs.S
|
bootblock-$(CONFIG_ARCH_BOOTBLOCK_X86_32) += walkcbfs.S
|
||||||
|
|
||||||
else # !C_ENVIRONMENT_BOOTBLOCK
|
else # !C_ENVIRONMENT_BOOTBLOCK
|
||||||
|
|
||||||
|
@ -235,7 +235,7 @@ romstage-y += memset.c
|
||||||
romstage-$(CONFIG_X86_TOP4G_BOOTMEDIA_MAP) += mmap_boot.c
|
romstage-$(CONFIG_X86_TOP4G_BOOTMEDIA_MAP) += mmap_boot.c
|
||||||
romstage-y += postcar_loader.c
|
romstage-y += postcar_loader.c
|
||||||
romstage-$(CONFIG_COLLECT_TIMESTAMPS_TSC) += timestamp.c
|
romstage-$(CONFIG_COLLECT_TIMESTAMPS_TSC) += timestamp.c
|
||||||
romstage-y += walkcbfs.S
|
romstage-$(CONFIG_ARCH_ROMSTAGE_X86_32) += walkcbfs.S
|
||||||
|
|
||||||
romstage-srcs += $(wildcard $(src)/mainboard/$(MAINBOARDDIR)/romstage.c)
|
romstage-srcs += $(wildcard $(src)/mainboard/$(MAINBOARDDIR)/romstage.c)
|
||||||
romstage-libs ?=
|
romstage-libs ?=
|
||||||
|
|
Loading…
Reference in New Issue