summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-q35/mainboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/emulation/qemu-q35/mainboard.c')
-rw-r--r--src/mainboard/emulation/qemu-q35/mainboard.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mainboard/emulation/qemu-q35/mainboard.c b/src/mainboard/emulation/qemu-q35/mainboard.c
index 0911671e5c..540db040c9 100644
--- a/src/mainboard/emulation/qemu-q35/mainboard.c
+++ b/src/mainboard/emulation/qemu-q35/mainboard.c
@@ -41,9 +41,7 @@ static void qemu_nb_read_resources(struct device *dev)
{
pci_dev_read_resources(dev);
- /* reserve mmconfig */
- fixed_mem_resource(dev, 2, CONFIG_MMCONF_BASE_ADDRESS >> 10, 0x10000000 >> 10,
- IORESOURCE_RESERVE);
+ mmconf_resource(dev, 2);
if (CONFIG(ARCH_RAMSTAGE_X86_64)) {
/* Reserve page tables in DRAM. FIXME: Remove once x86_64 page tables reside in CBMEM */