onboard pci_rom
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1860 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
6c615429d3
commit
77cbb99a57
4 changed files with 21 additions and 4 deletions
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue