From 243b7eb07cd885151c94ba70c1706169409215e8 Mon Sep 17 00:00:00 2001 From: Andrey Petrov Date: Sat, 23 Apr 2016 14:28:21 -0700 Subject: [PATCH] UPSTREAM: soc/intel/apollolake: Work around FSP-M CAR layout As of now FSP-M can not be relocated and it can not be instructed to use a specific resource for temporary memory. As result coreboot is forced to use CAR layout dictated by default FSP-M configuration. Change CAR size to 1MiB, link romstage at such CAR address so it doesn't overlap with FSP-M's default heap/stack. Change-Id: I56f78f043099dc835e294dbc081d7506bfad280d Original-Signed-off-by: Andrey Petrov Original-Reviewed-on: https://review.coreboot.org/14804 Original-Reviewed-by: Aaron Durbin Original-Reviewed-by: Paul Menzel (cherry-picked from commit 0e46307574befc7dab190438692c497b57c820c2) Signed-off-by: Martin Roth Reviewed-on: https://chromium-review.googlesource.com/346623 Reviewed-by: Aaron Durbin --- src/soc/intel/apollolake/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/soc/intel/apollolake/Kconfig b/src/soc/intel/apollolake/Kconfig index 7bbc6daa45..5d936ae8b3 100644 --- a/src/soc/intel/apollolake/Kconfig +++ b/src/soc/intel/apollolake/Kconfig @@ -73,7 +73,7 @@ config DCACHE_RAM_BASE config DCACHE_RAM_SIZE hex "Length in bytes of cache-as-RAM" - default 0x80000 + default 0x100000 help The size of the cache-as-ram region required during bootblock and/or romstage. @@ -116,7 +116,7 @@ config X86_TOP4G_BOOTMEDIA_MAP config ROMSTAGE_ADDR hex - default 0xfef2e000 + default 0xfef3e000 help The base address (in CAR) where romstage should be linked