Add legacy I/O region for vt8237r southbridge.

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Peter Stuge <peter@stuge.se>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4443 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Myles Watson 2009-07-20 19:42:15 +00:00
parent 85a94f66b2
commit 28f17dbf6b
1 changed files with 7 additions and 3 deletions

View File

@ -426,11 +426,15 @@ static void vt8237r_read_resources(device_t dev)
res = new_resource(dev, 0x44); res = new_resource(dev, 0x44);
res->base = VT8237R_APIC_BASE; res->base = VT8237R_APIC_BASE;
res->size = 256; res->size = 256;
res->limit = res->base + res->size - 1; res->limit = 0xffffffffUL;
res->align = 8;
res->gran = 8;
res->flags = IORESOURCE_MEM | IORESOURCE_FIXED | res->flags = IORESOURCE_MEM | IORESOURCE_FIXED |
IORESOURCE_STORED | IORESOURCE_ASSIGNED; IORESOURCE_STORED | IORESOURCE_ASSIGNED;
res = new_resource(dev, 1);
res->base = 0x0UL;
res->size = 0x1000UL;
res->limit = 0xffffUL;
res->flags = IORESOURCE_IO | IORESOURCE_ASSIGNED | IORESOURCE_FIXED;
} }
/** /**