Running with VGA
YhLu
YhLu at tyan.com
Wed Jan 12 15:24:00 CET 2005
The chip.h is already in /drivers/pci/onboard.
So may need to
#include "../drivers/pci/onboard/chip.h"
In pci_device.c
Also in get_pci_rom_resource begin
Add
> if(dev->on_mainboard) {
> struct drivers_pci_onboard_config *conf;
> conf = dev->chip_info;
> if(conf->rom_address!=0) {
> return;
> }
> }
In Pci_set_resource end
Add
> if(dev->on_mainboard) {
> struct drivers_pci_onboard_config *conf;
> conf = dev->chip_info;
> if(conf->rom_address!=0) {
> pci_write_config32(dev, PCI_ROM_ADDRESS,
conf->rom_address | 1);
> }
> }
Then We can remove that in pci_rom.c
YH
More information about the coreboot
mailing list