arch/x86: Add files needed for C environment bootblock on x86

This provides symbols needed by CBFS and FMAP APIs, and allows running
run_romstage() in an x86 bootblock. Note that console-related files
are not added in this patch, as they are not essential for the
functinality on an x86 environment bootbock.

Change-Id: I36558b672a926ab22bc9018cd51aee32213792c2
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-on: https://review.coreboot.org/12880
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Alexandru Gagniuc 2016-01-08 23:05:00 -08:00 committed by Aaron Durbin
parent 66bbb3187e
commit 4e153d6ee7
1 changed files with 5 additions and 0 deletions

View File

@ -68,6 +68,11 @@ else
LDFLAGS_bootblock += -m elf_x86_64 --oformat elf64-x86-64 LDFLAGS_bootblock += -m elf_x86_64 --oformat elf64-x86-64
endif endif
bootblock-y += boot.c
bootblock-y += memcpy.c
bootblock-y += memset.c
bootblock-y += mmap_boot.c
# Add the assembly file that pulls in the rest of the dependencies in # Add the assembly file that pulls in the rest of the dependencies in
# the right order. Make sure the auto generated bootblock.inc is a proper # the right order. Make sure the auto generated bootblock.inc is a proper
# dependency. Make the same true for the linker sript. # dependency. Make the same true for the linker sript.