summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorAndrey Petrov <andrey.petrov@intel.com>2016-03-13 16:01:04 -0700
committerAaron Durbin <adurbin@chromium.org>2016-03-16 18:56:19 +0100
commitb4e5c5eb1efd9eb6141e2996845236e154a6ec0d (patch)
tree46c829c83764973e69824b09e62b5b6fb478ff3c /src/cpu
parent5fa5da1083d064e533b570e67370a7a477f02965 (diff)
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 <andrey.petrov@intel.com> Reviewed-on: https://review.coreboot.org/14094 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/x86/mtrr/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
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