From 81af48e4913af3fdd5cbe5f9a12954a5fa4c928f Mon Sep 17 00:00:00 2001 From: Myles Watson Date: Mon, 7 Jun 2010 15:39:04 +0000 Subject: 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 Acked-by: Myles Watson git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5618 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/southbridge/amd/cs5535/cs5535.c | 6 +++--- src/southbridge/amd/cs5536/cs5536.c | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/southbridge/amd/cs5535/cs5535.c b/src/southbridge/amd/cs5535/cs5535.c index 50b62df0c3..c1fed9f815 100644 --- a/src/southbridge/amd/cs5535/cs5535.c +++ b/src/southbridge/amd/cs5535/cs5535.c @@ -71,13 +71,13 @@ static void southbridge_enable(struct device *dev) static void cs5535_read_resources(device_t dev) { - struct resource* res; + struct resource *res; pci_dev_read_resources(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); } diff --git a/src/southbridge/amd/cs5536/cs5536.c b/src/southbridge/amd/cs5536/cs5536.c index 29747db215..d2dbcb152a 100644 --- a/src/southbridge/amd/cs5536/cs5536.c +++ b/src/southbridge/amd/cs5536/cs5536.c @@ -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); } -- cgit v1.2.3