summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-01-08 20:07:21 +0000
committerMyles Watson <mylesgw@gmail.com>2009-01-08 20:07:21 +0000
commit189fc2fa4778c8272190e713fdb9468641248848 (patch)
tree96c69e6a196e270836dcea46a8cccd63bf598fb2
parent2d5920e5ba0bff2f8dd2596a230084395aef7b72 (diff)
downloadcoreboot-189fc2fa4778c8272190e713fdb9468641248848.tar.gz
coreboot-189fc2fa4778c8272190e713fdb9468641248848.tar.bz2
coreboot-189fc2fa4778c8272190e713fdb9468641248848.zip
This patch adds reserved regions to the geode northbridge for the ROM and
IOAPIC. Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Marc Jones <marcj303@gmail.com> git-svn-id: svn://coreboot.org/repository/coreboot-v3@1111 f3766cd6-281f-0410-b1cd-43a5c92072e9
-rw-r--r--northbridge/amd/geodelx/geodelx.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/northbridge/amd/geodelx/geodelx.c b/northbridge/amd/geodelx/geodelx.c
index 5266e3429e7d..c546be2888d1 100644
--- a/northbridge/amd/geodelx/geodelx.c
+++ b/northbridge/amd/geodelx/geodelx.c
@@ -149,8 +149,27 @@ static void geodelx_northbridge_set_resources(struct device *dev)
*/
static void geodelx_pci_domain_read_resources(struct device *dev)
{
+ struct resource *res;
+
/* If the domain has any specific resources, read them here. */
pci_domain_read_resources(dev);
+
+ /* Reserve space for the IOAPIC. This should be in the Southbridge,
+ * but I couldn't tell which device to put it in. */
+ res = new_resource(dev, 2);
+ res->base = 0xfec00000UL;
+ res->size = 0x100000UL;
+ res->limit = 0xffffffffUL;
+ res->flags = IORESOURCE_MEM | IORESOURCE_FIXED | IORESOURCE_STORED |
+ IORESOURCE_ASSIGNED;
+
+ /* Reserve space for the ROM. */
+ res = new_resource(dev, 3);
+ res->base = 0xfff00000UL;
+ res->size = 0x100000UL;
+ res->limit = 0xffffffffUL;
+ res->flags = IORESOURCE_MEM | IORESOURCE_FIXED | IORESOURCE_STORED |
+ IORESOURCE_ASSIGNED;
}
/**