From bc17cdef0d3370f10f43ef45272399e3103eb01b Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Fri, 7 Apr 2017 15:20:14 -0500 Subject: arch/x86: remove CAR global migration when postcar stage is used MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When a platform is using postcar stage it's by definition not tearing down cache-as-ram from within romstage prior to loading ramstage. Because of this property there's no need to migrate CAR_GLOBAL variables to cbmem. Change-Id: I7c683e1937c3397cbbba15f0f5d4be9e624ac27f Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/19215 Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Tested-by: Raptor Engineering Automated Test Stand Reviewed-by: Furquan Shaikh Reviewed-by: Kyösti Mälkki --- src/cpu/x86/Makefile.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cpu/x86') diff --git a/src/cpu/x86/Makefile.inc b/src/cpu/x86/Makefile.inc index 1724a060b8..771784e6ff 100644 --- a/src/cpu/x86/Makefile.inc +++ b/src/cpu/x86/Makefile.inc @@ -1,6 +1,8 @@ ifeq ($(CONFIG_ARCH_ROMSTAGE_X86_32)$(CONFIG_ARCH_ROMSTAGE_X86_64),y) +ifneq ($(CONFIG_NO_CAR_GLOBAL_MIGRATION),y) romstage-$(CONFIG_CACHE_AS_RAM) += car.c endif +endif subdirs-$(CONFIG_PARALLEL_MP) += name ramstage-$(CONFIG_PARALLEL_MP) += mp_init.c -- cgit v1.2.3