On Wed, Feb 18, 2009 at 5:47 AM, Kevin O'Connor <[email protected]> wrote: > On Wed, Feb 18, 2009 at 12:00:52PM +0100, Peter Stuge wrote: >> Kevin O'Connor wrote: >> > I recommend having SeaBIOS do the rom copying - modify SeaBIOS' >> > config.h and set: >> > >> > #define CONFIG_OPTIONROMS_DEPLOYED 0 >> > >> > If you have to include a vgabios in the rom, then also set >> > something like: >> > >> > #define OPTIONROM_BDF_1 pci_to_bdf(0x02, 0x00, 0) // pci 02:00.0 >> > #define OPTIONROM_MEM_1 0xfffc0000 // rom address of option rom >> >> It would be awesome if these things could be controlled by a tool >> after build time. > > I'd really like to see further use of the LAR format. With a LAR, > SeaBIOS could just scan for the option roms itself.
yes, that's what we do in v3; use the lar for this type of thing. Usually, over-reliance on cpp magic is a warning signal. ron -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

