From 77cbb99a578bcd5e929e13cc07871d8a5dc15e4b Mon Sep 17 00:00:00 2001 From: Yinghai Lu Date: Thu, 13 Jan 2005 03:36:38 +0000 Subject: onboard pci_rom git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1860 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/drivers/pci/onboard/onboard.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/drivers') diff --git a/src/drivers/pci/onboard/onboard.c b/src/drivers/pci/onboard/onboard.c index c5059323fa..09ee9bdb91 100644 --- a/src/drivers/pci/onboard/onboard.c +++ b/src/drivers/pci/onboard/onboard.c @@ -11,9 +11,16 @@ #include #include "chip.h" +static void onboard_enable(device_t dev) +{ + struct drivers_pci_onboard_config *conf; + conf = dev->chip_info; + dev->rom_address = conf->rom_address; +} struct chip_operations drivers_pci_onboard_ops = { #if CONFIG_CHIP_NAME == 1 CHIP_NAME("Onboard PCI") #endif + .enable_dev = onboard_enable, }; -- cgit v1.2.3