From 4e153d6ee794a9fb081876ef40adb80c71755b3e Mon Sep 17 00:00:00 2001 From: Alexandru Gagniuc Date: Fri, 8 Jan 2016 23:05:00 -0800 Subject: 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 Reviewed-on: https://review.coreboot.org/12880 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/arch/x86/Makefile.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc index 5dc13c880d..1d1dd26b15 100644 --- a/src/arch/x86/Makefile.inc +++ b/src/arch/x86/Makefile.inc @@ -68,6 +68,11 @@ else LDFLAGS_bootblock += -m elf_x86_64 --oformat elf64-x86-64 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 # the right order. Make sure the auto generated bootblock.inc is a proper # dependency. Make the same true for the linker sript. -- cgit v1.2.3