This patch extends the reserved resources for the cs5536 to avoid the excluded
range as detailed on p104 of the cs5536 Device Data Book. Extended to 0x1000. Same change for cs5535. Signed-off by: Edwin Beasant edwin_beasant@virtensys.com Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5618 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
7923c49501
commit
81af48e491
|
@ -77,7 +77,7 @@ static void cs5535_read_resources(device_t dev)
|
|||
|
||||
res = new_resource(dev, 1);
|
||||
res->base = 0x0UL;
|
||||
res->size = 0x400UL;
|
||||
res->size = 0x1000UL;
|
||||
res->limit = 0xffffUL;
|
||||
res->flags = IORESOURCE_IO | IORESOURCE_ASSIGNED | IORESOURCE_FIXED;
|
||||
|
||||
|
@ -89,7 +89,7 @@ static void cs5535_read_resources(device_t dev)
|
|||
|
||||
static void cs5535_pci_dev_enable_resources(device_t dev)
|
||||
{
|
||||
printk(BIOS_SPEW, "cs5535.c: %s()\n", __func__);
|
||||
printk(BIOS_DEBUG, "%s()\n", __func__);
|
||||
pci_dev_enable_resources(dev);
|
||||
enable_childrens_resources(dev);
|
||||
}
|
||||
|
|
|
@ -651,10 +651,9 @@ static void cs5536_read_resources(device_t dev)
|
|||
|
||||
res = new_resource(dev, 1);
|
||||
res->base = 0x0UL;
|
||||
res->size = 0x400UL;
|
||||
res->size = 0x1000UL;
|
||||
res->limit = 0xffffUL;
|
||||
res->flags = IORESOURCE_IO |
|
||||
IORESOURCE_ASSIGNED | IORESOURCE_FIXED;
|
||||
res->flags = IORESOURCE_IO | IORESOURCE_ASSIGNED | IORESOURCE_FIXED;
|
||||
|
||||
res = new_resource(dev, 3); /* IOAPIC */
|
||||
res->base = 0xfec00000;
|
||||
|
@ -670,7 +669,7 @@ static void southbridge_enable(struct device *dev)
|
|||
|
||||
static void cs5536_pci_dev_enable_resources(device_t dev)
|
||||
{
|
||||
printk(BIOS_ERR, "cs5536: %s()\n", __func__);
|
||||
printk(BIOS_DEBUG, "%s()\n", __func__);
|
||||
pci_dev_enable_resources(dev);
|
||||
enable_childrens_resources(dev);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue