aboutsummaryrefslogtreecommitdiff
path: root/src/include/rules.h
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/include/rules.h
parent0f5e01a9620bfac2311a2fef82bfb3dc3ab59c1a (diff)
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/include/rules.h')
-rw-r--r--src/include/rules.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/rules.h b/src/include/rules.h
index d8f6e7438b..10cd715db1 100644
--- a/src/include/rules.h
+++ b/src/include/rules.h
@@ -284,7 +284,7 @@
/* x86 specific. Indicates that the current stage is running with cache-as-ram
* enabled from the beginning of the stage in C code. */
#if defined(__PRE_RAM__)
-#define ENV_CACHE_AS_RAM CONFIG(CACHE_AS_RAM)
+#define ENV_CACHE_AS_RAM CONFIG(ARCH_X86)
#else
#define ENV_CACHE_AS_RAM 0
#endif