[coreboot] cbfs fix

Myles Watson mylesgw at gmail.com
Sat Apr 25 00:53:50 CEST 2009

This fixes the boot for CBFS with the s2895.  As an added bonus it
still works on serengeti :)

The problem was that the master cbfs record was located at the end of
the flash and overwrote anything that was there.  Luckily for most
targets this wasn't a problem, but for ck804 or mcp55-based machines
it overwrote the romstrap.

The fix is simple:
1. Put the master cbfs record above the bootblock instead of on it.

There are many improvements that can be made to cbfs, but for now I
think this improves the situation substantially.

Signed-off-by: Myles Watson <mylesgw at gmail.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: respect_bootblock.diff
Type: text/x-patch
Size: 4325 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090424/ad929061/attachment.diff>

More information about the coreboot mailing list