arch/x86: link bootblock like other stages for C_ENVIRONMENT_BOOTBLOCK
When C_ENVIRONMENT_BOOTBLOCK is selected link bootblock using the memlayout.ld scripts and infrastructure. This allows bootblock on x86 to utilize all the other coreboot infrastructure without relying romcc. Change-Id: Ie3e077d553360853bf33f30cf8a347ba1df1e389 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/13069 Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Tested-by: build bot (Jenkins) Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
This commit is contained in:
@@ -181,11 +181,8 @@ romstage-y += halt.c
|
||||
ramstage-y += halt.c
|
||||
smm-y += halt.c
|
||||
|
||||
ifneq ($(CONFIG_ARCH_X86),y)
|
||||
# X86 bootblock uses custom ldscripts that are all glued together,
|
||||
# so we need to exclude it here or it would pick these up as well
|
||||
bootblock-y += program.ld
|
||||
endif
|
||||
# Use program.ld for all the platforms which use C fo the bootblock.
|
||||
bootblock-$(CONFIG_C_ENVIRONMENT_BOOTBLOCK) += program.ld
|
||||
|
||||
romstage-y += program.ld
|
||||
ramstage-y += program.ld
|
||||
|
Reference in New Issue
Block a user