Author: myles Date: 2009-07-20 21:42:15 +0200 (Mon, 20 Jul 2009) New Revision: 4443
Modified: trunk/coreboot-v2/src/southbridge/via/vt8237r/vt8237r_lpc.c Log: Add legacy I/O region for vt8237r southbridge.
Signed-off-by: Myles Watson mylesgw@gmail.com Acked-by: Peter Stuge peter@stuge.se
Modified: trunk/coreboot-v2/src/southbridge/via/vt8237r/vt8237r_lpc.c =================================================================== --- trunk/coreboot-v2/src/southbridge/via/vt8237r/vt8237r_lpc.c 2009-07-20 19:34:47 UTC (rev 4442) +++ trunk/coreboot-v2/src/southbridge/via/vt8237r/vt8237r_lpc.c 2009-07-20 19:42:15 UTC (rev 4443) @@ -426,11 +426,15 @@ 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; }
/**