summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cpu/amd/mtrr/amd_mtrr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/amd/mtrr/amd_mtrr.c b/src/cpu/amd/mtrr/amd_mtrr.c
index f904df9b04..64ed5dc073 100644
--- a/src/cpu/amd/mtrr/amd_mtrr.c
+++ b/src/cpu/amd/mtrr/amd_mtrr.c
@@ -19,5 +19,5 @@ void add_uma_resource_below_tolm(struct device *nb, int idx)
printk(BIOS_INFO, "%s: uma size 0x%08x, memory start 0x%08x\n", __func__, uma_size,
uma_base);
- uma_resource_kb(nb, idx, uma_base / KiB, uma_size / KiB);
+ mmio_range(nb, idx, uma_base, uma_size);
}