aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/aspeed/ast2050/ast2050.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/aspeed/ast2050/ast2050.c')
-rw-r--r--src/drivers/aspeed/ast2050/ast2050.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/aspeed/ast2050/ast2050.c b/src/drivers/aspeed/ast2050/ast2050.c
index 3aa4195928..ea86e28ffe 100644
--- a/src/drivers/aspeed/ast2050/ast2050.c
+++ b/src/drivers/aspeed/ast2050/ast2050.c
@@ -14,7 +14,7 @@
static void aspeed_ast2050_read_resources(struct device *dev)
{
/* Reserve VGA regions */
- mmio_resource_kb(dev, 3, 0xa0000 >> 10, 0x1ffff >> 10);
+ mmio_from_to(dev, 3, 0xa0000, 0xc0000);
/* Run standard resource read routine */
pci_dev_read_resources(dev);