[coreboot] r1111 - coreboot-v3/northbridge/amd/geodelx
svn at coreboot.org
svn at coreboot.org
Thu Jan 8 21:07:21 CET 2009
Author: myles
Date: 2009-01-08 21:07:21 +0100 (Thu, 08 Jan 2009)
New Revision: 1111
Modified:
coreboot-v3/northbridge/amd/geodelx/geodelx.c
Log:
This patch adds reserved regions to the geode northbridge for the ROM and
IOAPIC.
Signed-off-by: Myles Watson <mylesgw at gmail.com>
Acked-by: Marc Jones <marcj303 at gmail.com>
Modified: coreboot-v3/northbridge/amd/geodelx/geodelx.c
===================================================================
--- coreboot-v3/northbridge/amd/geodelx/geodelx.c 2009-01-08 17:21:37 UTC (rev 1110)
+++ coreboot-v3/northbridge/amd/geodelx/geodelx.c 2009-01-08 20:07:21 UTC (rev 1111)
@@ -149,8 +149,27 @@
*/
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;
}
/**
More information about the coreboot
mailing list