[coreboot] coreboot+seabios+gpxe

Stefan Reinauer stepan at coresystems.de
Wed Mar 4 01:52:15 CET 2009


Kevin O'Connor wrote:
> #define OPTIONROM_BDF_1 pci_to_bdf(0x01, 0x00, 0)
> #define OPTIONROM_MEM_1 0xfffc0000
> #define OPTIONROM_BDF_2 pci_to_bdf(0x00, 0x09, 0)
> #define OPTIONROM_MEM_2 0xfffcf800
>   
Hi, Kevin,

the bdf notion for matching option roms might be critical, as on k8 bus
numbers can vary a lot.
Could we instead just keep a list of addresses and have SeaBIOS match
the vendor IDs from PCI devices with those in the Option ROMs? That way
we wouldn't have to worry. I'll gladly send a patch if you see no
obstacles in changing the behavior.

Stefan

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866





More information about the coreboot mailing list