diff options
author | Myles Watson <mylesgw@gmail.com> | 2009-07-20 19:42:15 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2009-07-20 19:42:15 +0000 |
commit | 28f17dbf6be3e19e84936218f1628973203f55c9 (patch) | |
tree | 99245bafe7c02be48b1b60835e4270a16614f053 /src/southbridge/via/vt8237r | |
parent | 85a94f66b2c72a0ea4530de2b412a7cba98ad736 (diff) | |
download | coreboot-28f17dbf6be3e19e84936218f1628973203f55c9.tar.xz |
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
Diffstat (limited to 'src/southbridge/via/vt8237r')
-rw-r--r-- | src/southbridge/via/vt8237r/vt8237r_lpc.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/southbridge/via/vt8237r/vt8237r_lpc.c b/src/southbridge/via/vt8237r/vt8237r_lpc.c index 2481da4e2f..766d2d9de9 100644 --- a/src/southbridge/via/vt8237r/vt8237r_lpc.c +++ b/src/southbridge/via/vt8237r/vt8237r_lpc.c @@ -426,11 +426,15 @@ static void vt8237r_read_resources(device_t dev) res = new_resource(dev, 0x44); res->base = VT8237R_APIC_BASE; res->size = 256; - res->limit = res->base + res->size - 1; - res->align = 8; - res->gran = 8; + res->limit = 0xffffffffUL; res->flags = IORESOURCE_MEM | IORESOURCE_FIXED | 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; } /** |