summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-09 09:11:14 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-11 18:36:34 +0000
commitc74b93df9fd03c6959227d99f8e37b0518ec9c8f (patch)
tree7f7581fdf02ef061572061632771c6febf6b47f6 /src/cpu
parent0f5e01a9620bfac2311a2fef82bfb3dc3ab59c1a (diff)
downloadcoreboot-c74b93df9fd03c6959227d99f8e37b0518ec9c8f.tar.xz
arch/x86: Obsolete CACHE_AS_RAM config
It was originally inverse of romcc-built romstages on x86, and is currently always true on x86. Change-Id: I65fa6b3ce8a86781724bbf08f5eadee4112667c4 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34806 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/Kconfig5
-rw-r--r--src/cpu/x86/Makefile.inc6
2 files changed, 1 insertions, 10 deletions
diff --git a/src/cpu/Kconfig b/src/cpu/Kconfig
index 645767c796..69ceb647ee 100644
--- a/src/cpu/Kconfig
+++ b/src/cpu/Kconfig
@@ -6,14 +6,9 @@ source "src/cpu/*/Kconfig"
if ARCH_X86
-config CACHE_AS_RAM
- bool
- default y
-
config CAR_GLOBAL_MIGRATION
bool
default n
- depends on CACHE_AS_RAM
help
This option is selected if there is need to migrate CAR globals.
All stages which use CAR globals can directly access the variables
diff --git a/src/cpu/x86/Makefile.inc b/src/cpu/x86/Makefile.inc
index 8a669bdb66..9c18d44945 100644
--- a/src/cpu/x86/Makefile.inc
+++ b/src/cpu/x86/Makefile.inc
@@ -1,8 +1,4 @@
-ifeq ($(CONFIG_ARCH_ROMSTAGE_X86_32)$(CONFIG_ARCH_ROMSTAGE_X86_64),y)
-ifeq ($(CONFIG_CAR_GLOBAL_MIGRATION),y)
-romstage-$(CONFIG_CACHE_AS_RAM) += car.c
-endif
-endif
+romstage-$(CONFIG_CAR_GLOBAL_MIGRATION) += car.c
subdirs-y += pae
subdirs-$(CONFIG_PARALLEL_MP) += name