[romprefix] Update ROM checksum even if PMM allocation fails
authorMichael Brown <mcb30@etherboot.org>
Sun, 15 Feb 2009 11:42:15 +0000 (11:42 +0000)
committerMichael Brown <mcb30@etherboot.org>
Sun, 15 Feb 2009 11:44:21 +0000 (11:44 +0000)
commitf16668dd600c266ee573badc295745cbb0c0f879
tree29671e6e4fc432bc852f3676fb57e2a4b9c35068
parent79867d34eedc08b0cc81e84221bb794f47c94b50
[romprefix] Update ROM checksum even if PMM allocation fails

There are code paths other than PMM allocation that can result in our
changing the ROM checksum.  For example, we attempt to update our
product string to incorporate the PCI bus:dev.fn number.  In a system
that does not support PMM, we could therefore end up with an incorrect
checksum.

Fix by attempting to update the checksum unconditionally.
src/arch/i386/prefix/romprefix.S