cpu/amd/mtrr: Use newer function for resource declaration

Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Change-Id: I62f34a12bc5c4807638ddcb39fa5e450d99511fe
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76277
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Arthur Heymans 2023-07-05 10:59:59 +02:00 committed by Kyösti Mälkki
parent fdc1b541ae
commit 74add29738
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}