Subrata Banik has uploaded this change for review.

View Change

Kconfig: remove CAR global migration when ramstage stage is used

When a platform is not using postcar stage (!HAVE_POSTCAR) it will
use ramstage hence 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: I9bd9c53ca2404b66445d4c558e1a4b151bc2fe41
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
---
M src/Kconfig
1 file changed, 1 insertion(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/50/34750/1
diff --git a/src/Kconfig b/src/Kconfig
index 2bb5bfe..62c2f0d 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -1208,3 +1208,4 @@
bool
default n if RAMPAYLOAD
default y
+ select NO_CAR_GLOBAL_MIGRATION if !HAVE_POSTCAR

To view, visit change 34750. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9bd9c53ca2404b66445d4c558e1a4b151bc2fe41
Gerrit-Change-Number: 34750
Gerrit-PatchSet: 1
Gerrit-Owner: Subrata Banik <subrata.banik@intel.com>
Gerrit-MessageType: newchange