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
This commit is contained in:
parent
2d5920e5ba
commit
189fc2fa47
1 changed files with 19 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue