[coreboot] failover only for s2895

Myles Watson mylesgw at gmail.com
Thu Jul 16 17:42:48 CEST 2009


I had always misunderstood failover.  I thought it was the last resort if
normal & fallback didn't work.  It actually is just a minimal image that
chooses whether to run normal or fallback.

This patch makes that clear for the s2895 by separating the files.  I like
it much better.  I'm eventually planning to do the same for all of the AMD
Tyan boards.  For the patch to apply, you have to svn cp cache_as_ram_auto.c
to failover.c

The only problem I had was where to put the definition of post_code.  Since
it is trivial, I made it a #define.  I tried to put it in other places, but
it affected the PPC targets and others because we define post_code in other
places.

Boot tested.

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

Thanks,
Myles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090716/903f6a16/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: failover.diff
Type: text/x-patch
Size: 16064 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090716/903f6a16/attachment.diff>


More information about the coreboot mailing list