summaryrefslogtreecommitdiff
path: root/src/drivers/pci
diff options
context:
space:
mode:
authorYinghai Lu <yinghailu@gmail.com>2005-01-13 03:36:38 +0000
committerYinghai Lu <yinghailu@gmail.com>2005-01-13 03:36:38 +0000
commit77cbb99a578bcd5e929e13cc07871d8a5dc15e4b (patch)
tree3b5b62ea820fb2862258d0f491a0a2c1b5b6263c /src/drivers/pci
parent6c615429d39d7e14f7ea97a63cabcb616d5c2438 (diff)
onboard pci_rom
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1860 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/drivers/pci')
-rw-r--r--src/drivers/pci/onboard/onboard.c7
1 files changed, 7 insertions, 0 deletions
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 <device/pci_ops.h>
#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,
};