diff options
-rw-r--r-- | src/soc/amd/stoneyridge/northbridge.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/amd/stoneyridge/northbridge.c b/src/soc/amd/stoneyridge/northbridge.c index 90d227ade0..b4c18d3587 100644 --- a/src/soc/amd/stoneyridge/northbridge.c +++ b/src/soc/amd/stoneyridge/northbridge.c @@ -7,6 +7,7 @@ #include <device/pci_ops.h> #include <arch/hpet.h> #include <arch/ioapic.h> +#include <arch/vga.h> #include <acpi/acpi.h> #include <acpi/acpigen.h> #include <cbmem.h> @@ -365,7 +366,7 @@ void domain_read_resources(struct device *dev) ram_resource_kb(dev, idx++, 0, 0xa0000 / KiB); /* 0xa0000 -> 0xbffff: legacy VGA */ - mmio_resource_kb(dev, idx++, 0xa0000 / KiB, 0x20000 / KiB); + mmio_resource_kb(dev, idx++, VGA_MMIO_BASE / KiB, VGA_MMIO_SIZE / KiB); /* 0xc0000 -> 0xfffff: Option ROM */ reserved_ram_resource_kb(dev, idx++, 0xc0000 / KiB, 0x40000 / KiB); |