[coreboot] [PATCH] various things to aid with CBFS on PPC, plus...

Patrick Georgi patrick at georgi-clan.de
Wed Aug 19 23:08:07 CEST 2009


Hi,

20090819-2-trim-down-cbfs:
CBFS uses sprintf, which requires vtxprintf, which requires (in the 
current design) a nested function. That works on x86, but on PPC this 
requires a trampoline. In the ROM stage, this is not available, so 
remove the single use of sprintf and replace it with a direct string 
handler - it's only used to fill in fixed-length hex values.

20090819-3-more-noreturns-in-romcc:
Mark two more functions in romcc as noreturn. Helps clang's scan-build a bit

20090819-4-cbfsify-ppc:
Make PPC use CBFS. Support big endian ELF in cbfs-mkstage. Untested and 
not complete yet.

20090819-5-fix-ppc-build:
The CBFS build system requires ROM_IMAGE_SIZE to have a somewhat 
plausible value.


All of them are
Signed-off-by: Patrick Georgi <patrick.georgi at coresystems.de>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20090819-2-trim-down-cbfs.diff
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090819/982a8375/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20090819-3-more-noreturns-in-romcc.diff
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090819/982a8375/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20090819-4-cbfsify-ppc
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090819/982a8375/attachment-0002.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20090819-5-fix-ppc-build
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090819/982a8375/attachment-0003.ksh>


More information about the coreboot mailing list