diff options
author | Myles Watson <mylesgw@gmail.com> | 2010-06-07 15:39:04 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2010-06-07 15:39:04 +0000 |
commit | 81af48e4913af3fdd5cbe5f9a12954a5fa4c928f (patch) | |
tree | 4d85162e349b211aa09ba2a145acd9371beffa12 /src | |
parent | 7923c495015ecb271da6e48b28cf5c065fcdd4bc (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/southbridge/amd/cs5535/cs5535.c | 6 | ||||
-rw-r--r-- | 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); } |