ast2050: Fix reserving VGA region
Reserving resources needs to have inclusive region ends. Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Change-Id: I88a09d205ef9699de7f18e0a2f33c9ad3ce9fa36 Reviewed-on: https://review.coreboot.org/c/coreboot/+/76279 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
9a7198392a
commit
ac66a272d3
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue