summaryrefslogtreecommitdiffstats
path: root/src/include/cpu
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2013-12-12 12:27:53 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2013-12-26 23:19:11 +0100
commit88a67f0cc9d0bec08a6cfa5b1c3f4198fd98ab4f (patch)
tree4e70ca05732a9682ba75ead9993e4e5ad6b11539 /src/include/cpu
parent1c434ff2d6200777ec0f6f806ebe8bb45f939dc8 (diff)
downloadcoreboot-88a67f0cc9d0bec08a6cfa5b1c3f4198fd98ab4f.tar.gz
coreboot-88a67f0cc9d0bec08a6cfa5b1c3f4198fd98ab4f.tar.bz2
coreboot-88a67f0cc9d0bec08a6cfa5b1c3f4198fd98ab4f.zip
AMD boards (non-AGESA): Cleanup earlymtrr.c includes
Change-Id: I5f4bf9dbaf3470dc83d3e980bb6cab10801e15c1 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/4523 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Bruce Griffith <Bruce.Griffith@se-eng.com>
Diffstat (limited to 'src/include/cpu')
-rw-r--r--src/include/cpu/x86/mtrr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/cpu/x86/mtrr.h b/src/include/cpu/x86/mtrr.h
index 017a77eb8461..913ba474875f 100644
--- a/src/include/cpu/x86/mtrr.h
+++ b/src/include/cpu/x86/mtrr.h
@@ -92,6 +92,10 @@ static inline long x86_mtrr_rom_cache_var_index(void) { return -1; }
#endif
+#if !defined(__ASSEMBLER__) && defined(__PRE_RAM__) && !defined(__ROMCC__)
+void set_var_mtrr(unsigned reg, unsigned base, unsigned size, unsigned type);
+#endif
+
#if !defined(CONFIG_RAMTOP)
# error "CONFIG_RAMTOP not defined"
#endif