CONFIG_PCI_ROM_RUN

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1875 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Yinghai Lu
2005-01-14 22:04:49 +00:00
parent 688238a50c
commit 9e4faef7db
5 changed files with 39 additions and 5 deletions

View File

@@ -364,6 +364,7 @@ void compute_allocate_resource(
}
#if CONFIG_CONSOLE_VGA == 1
static void allocate_vga_resource(void)
{
#warning "FIXME modify allocate_vga_resource so it is less pci centric!"
@@ -401,7 +402,7 @@ static void allocate_vga_resource(void)
bus = (bus == bus->dev->bus)? 0 : bus->dev->bus;
}
}
#endif
/**
* @brief Assign the computed resources to the devices on the bus.
@@ -556,8 +557,10 @@ void dev_configure(void)
mem->flags |= IORESOURCE_ASSIGNED;
mem->flags &= ~IORESOURCE_STORED;
#if CONFIG_CONSOLE_VGA == 1
/* Allocate the VGA I/O resource.. */
allocate_vga_resource();
#endif
/* Store the computed resource allocations into device registers ... */
printk_info("Setting resources...\n");