projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
This patch unifies the use of config options in v2 to all start with CONFIG_
[coreboot.git]
/
src
/
cpu
/
amd
/
car
/
disable_cache_as_ram.c
diff --git
a/src/cpu/amd/car/disable_cache_as_ram.c
b/src/cpu/amd/car/disable_cache_as_ram.c
index 0f5f831270de8b840f1b0969e2977f5942f08a3b..a5113474d3b1507f56afd7997438f3686d8947a6 100644
(file)
--- a/
src/cpu/amd/car/disable_cache_as_ram.c
+++ b/
src/cpu/amd/car/disable_cache_as_ram.c
@@
-16,7
+16,7
@@
static inline __attribute__((always_inline)) void disable_cache_as_ram(void)
"xorl %edx, %edx\n\t"
"xorl %eax, %eax\n\t"
"wrmsr\n\t"
-#if DCACHE_RAM_SIZE > 0x8000
+#if
CONFIG_
DCACHE_RAM_SIZE > 0x8000
"movl $0x268, %ecx\n\t" /* fix4k_c0000*/
"wrmsr\n\t"
#endif