From 88a67f0cc9d0bec08a6cfa5b1c3f4198fd98ab4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Thu, 12 Dec 2013 12:27:53 +0200 Subject: AMD boards (non-AGESA): Cleanup earlymtrr.c includes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I5f4bf9dbaf3470dc83d3e980bb6cab10801e15c1 Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/4523 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Bruce Griffith --- src/include/cpu/x86/mtrr.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/include') diff --git a/src/include/cpu/x86/mtrr.h b/src/include/cpu/x86/mtrr.h index 017a77eb84..913ba47487 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 -- cgit v1.2.3