summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2017-04-19 19:55:54 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2017-05-18 06:48:12 +0200
commit17bb225be7dd031b9803f33dec88e9d53e3a582f (patch)
tree5d16bdb1823eeab9c133c49fdb34a6c7c9fb46b9 /src/include
parenta7dd6455942e17708d5d8da3e1f6c22a8f75ac2e (diff)
downloadcoreboot-17bb225be7dd031b9803f33dec88e9d53e3a582f.tar.xz
AMD MTRR: Add common add_uma_resource_below_tolm()
Change-Id: I9eee88dc619ac5d9c77153db522a6ead65f6c9b1 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/19376 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cpu/amd/mtrr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/cpu/amd/mtrr.h b/src/include/cpu/amd/mtrr.h
index b65c23b83a..b31648d0af 100644
--- a/src/include/cpu/amd/mtrr.h
+++ b/src/include/cpu/amd/mtrr.h
@@ -41,6 +41,8 @@
#include <cpu/x86/msr.h>
void amd_setup_mtrrs(void);
+struct device;
+void add_uma_resource_below_tolm(struct device *nb, int idx);
static inline __attribute__((always_inline)) msr_t rdmsr_amd(unsigned int index)
{