onboard pci_rom
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1860 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
Reference in New Issue
Block a user