From b4e5c5eb1efd9eb6141e2996845236e154a6ec0d Mon Sep 17 00:00:00 2001 From: Andrey Petrov Date: Sun, 13 Mar 2016 16:01:04 -0700 Subject: cpu/x86: compile earlymtrr.c code for romstage as well In order to make this work earlymtrr.c needed to be removed from intel/truxton/romstage.c. It's not a ROMCC board so there's no reason to be including .c files. Change-Id: If4f5494a53773454b97b90fb856f7e52cadb3f44 Signed-off-by: Andrey Petrov Reviewed-on: https://review.coreboot.org/14094 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth Reviewed-by: Furquan Shaikh --- src/cpu/x86/mtrr/Makefile.inc | 1 + src/mainboard/intel/truxton/romstage.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/cpu/x86/mtrr/Makefile.inc b/src/cpu/x86/mtrr/Makefile.inc index cecb8269ef..9b7207b9e0 100644 --- a/src/cpu/x86/mtrr/Makefile.inc +++ b/src/cpu/x86/mtrr/Makefile.inc @@ -1 +1,2 @@ ramstage-y += mtrr.c +romstage-y += earlymtrr.c diff --git a/src/mainboard/intel/truxton/romstage.c b/src/mainboard/intel/truxton/romstage.c index 3ea65426d9..36f54953b9 100644 --- a/src/mainboard/intel/truxton/romstage.c +++ b/src/mainboard/intel/truxton/romstage.c @@ -26,7 +26,6 @@ #include "southbridge/intel/i3100/early_lpc.c" #include #include -#include "cpu/x86/mtrr/earlymtrr.c" #include "lib/debug.c" // XXX #include #include -- cgit v1.2.3