summaryrefslogtreecommitdiff
path: root/src/include/cpu/amd/mtrr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/cpu/amd/mtrr.h')
-rw-r--r--src/include/cpu/amd/mtrr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/cpu/amd/mtrr.h b/src/include/cpu/amd/mtrr.h
index 2b7017d897..d86655dcdd 100644
--- a/src/include/cpu/amd/mtrr.h
+++ b/src/include/cpu/amd/mtrr.h
@@ -31,7 +31,7 @@
#define TOP_MEM_MASK 0x007fffff
#define TOP_MEM_MASK_KB (TOP_MEM_MASK >> 10)
-#if !defined( __ROMCC__ ) && !defined (ASSEMBLY)
+#if !defined( __ROMCC__ ) && !defined (ASSEMBLY) && !defined(__PRE_RAM__)
void amd_setup_mtrrs(void);
#endif /* __ROMCC__ */