Hi,
Is it possible to build a single rom which is able to run on two different boards?
Background: qemu recently got an emulation for a more recent chipset. Current seabios roms detect at runtime whenever runs on the old (i440fx + piix4) or the new (q35 + ich9) and initializes the hardware accordingly. I'd like to do the same with coreboot if possible.
Drivers seem to be kicked by hardware detection (struct pci_driver), so it looks like simply compiling in two southbridges could work. Tried, got duplicate symbols. Hmm.
There also is no obvious way to have two devicetrees and pick one of them at runtime. Same with acpi tables.
Comments? Suggestions?
thanks, Gerd