[coreboot] [PATCH] Remove warnings

Myles Watson mylesgw at gmail.com
Thu Oct 29 16:53:45 CET 2009


These three patches get rid of a few more warnings for me.

abuild tested.

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

PS.  It looks like part of the reason we have so many warnings is the misuse
of #define __ROMCC__ to mean "early code before the device tree is
available"  __ROMCC__ is also used to get rid of prototypes because romcc
doesn't support them.  What's the right thing to do here?  Maybe we should
split the meanings so that we test for __GNUC__ when we mean "not romcc",
and we test for __ROMCC__ (renamed, of course, later) when we mean early
init?

Thanks,
Myles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091029/799fbd76/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: s2895.diff
Type: text/x-patch
Size: 9120 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091029/799fbd76/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: superios.diff
Type: text/x-patch
Size: 11105 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091029/799fbd76/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: selfboot.diff
Type: text/x-patch
Size: 1560 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091029/799fbd76/attachment-0002.diff>


More information about the coreboot mailing list