summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2016-12-06 14:14:19 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2016-12-06 20:54:31 +0100
commit4607cacf30ac84268faa3f6a859488acc132301d (patch)
tree71190d72fc347ef2bbcb83fcf72e28f04d1759df /src/include
parent22cc9d28d69ea2309184c54d93c40dca531fc5af (diff)
cpu/x86/msr.h: Drop excessive includes
Change-Id: Ic22beaa47476d8c600e4081fc5ad7bc171e0f903 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/17735 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cpu/amd/mtrr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/cpu/amd/mtrr.h b/src/include/cpu/amd/mtrr.h
index be816ba5aa..7da6cd1142 100644
--- a/src/include/cpu/amd/mtrr.h
+++ b/src/include/cpu/amd/mtrr.h
@@ -37,6 +37,9 @@
#define TOP_MEM_MASK_KB (TOP_MEM_MASK >> 10)
#if !defined(__PRE_RAM__) && !defined(__ASSEMBLER__)
+
+#include <cpu/x86/msr.h>
+
void amd_setup_mtrrs(void);
static inline __attribute__((always_inline)) msr_t rdmsr_amd(unsigned index)