]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[romprefix] Allow .mrom image to be placed anywhere within the BAR
authorMichael Brown <mcb30@ipxe.org>
Sun, 10 Jun 2012 18:01:20 +0000 (19:01 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 12 Jun 2012 14:15:06 +0000 (15:15 +0100)
commitb58374fe91a4d599c18f2b99501a54f73850f4de
tree8494762a283921009475a2a32d729293ec5cdb62
parent9e8d431a0d58caba3c5f65d4e30fd259d2f782e1
[romprefix] Allow .mrom image to be placed anywhere within the BAR

A .mrom image currently assumes that it is the first image within the
expansion ROM BAR, which may not be correct when multiple images are
present.

Fix by scanning through the BAR until we locate an image matching our
build ID.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/prefix/mromprefix.S