Unify optionrom cbfs/qemu_cfg rom pulling code.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 13 Jun 2010 20:05:17 +0000 (16:05 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 13 Jun 2010 20:05:17 +0000 (16:05 -0400)
commite23042606f938a9e344252983cf8e05e7528a126
treee16fd382b0e877339b527f6facce4caa581a87a8
parent8cb8ba52b1bb478893411394ce49b364086f8a1a
Unify optionrom cbfs/qemu_cfg rom pulling code.

Make the qemu_cfg optionrom extraction code use an interface more
similar to the cbfs file interface.

Introduce a set of "romfile_" wrappers that select between cbfs and
qemu cfg interface.  Use these new wrappers in the optionrom code.
src/coreboot.c
src/optionroms.c
src/paravirt.c
src/paravirt.h
src/util.h