From 189fc2fa4778c8272190e713fdb9468641248848 Mon Sep 17 00:00:00 2001 From: Myles Watson Date: Thu, 8 Jan 2009 20:07:21 +0000 Subject: This patch adds reserved regions to the geode northbridge for the ROM and IOAPIC. Signed-off-by: Myles Watson Acked-by: Marc Jones git-svn-id: svn://coreboot.org/repository/coreboot-v3@1111 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- northbridge/amd/geodelx/geodelx.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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; } /** -- cgit v1.2.3