aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/via/vx900/northbridge.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/via/vx900/northbridge.c')
-rw-r--r--src/northbridge/via/vx900/northbridge.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/northbridge/via/vx900/northbridge.c b/src/northbridge/via/vx900/northbridge.c
index a4a8ecec48..7429c4f973 100644
--- a/src/northbridge/via/vx900/northbridge.c
+++ b/src/northbridge/via/vx900/northbridge.c
@@ -297,10 +297,7 @@ static void vx900_read_resources(device_t dev)
/* Now do the same for our MMCONF
* We always run with MMCONF enabled. We need to access the extended
* config space when configuring PCI-Express links */
- res = new_resource(dev, idx++);
- res->size = 256 * MiB;
- res->base = CONFIG_MMCONF_BASE_ADDRESS;
- res->flags = IORESOURCE_MEM | IORESOURCE_ASSIGNED | IORESOURCE_FIXED;
+ mmconf_resource(dev, idx++);
pci_domain_read_resources(dev);
}