the following patch was just integrated into master: commit 332795cc5951c6d65badd2bbf3c79f6b63dbdbc2 Author: Hung-Te Lin hungte@chromium.org Date: Mon Jan 28 15:53:34 2013 +0800
cbfstool: Make endian detection functions to work without prior setup.
The 'host_bigendian' variable (and functions relying on it like ntohl/htonl) requires host detection by calling static which_endian() first -- which may be easily forgotten by developers. It's now a public function in common.c and doesn't need initialization anymore.
Change-Id: I13dabd1ad15d2d6657137d29138e0878040cb205 Signed-off-by: Hung-Te Lin hungte@chromium.org Reviewed-on: http://review.coreboot.org/2199 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel paulepanter@users.sourceforge.net
Build-Tested: build bot (Jenkins) at Wed Jan 30 04:04:05 2013, giving +1 Reviewed-By: Paul Menzel paulepanter@users.sourceforge.net at Wed Jan 30 11:07:22 2013, giving +2 See http://review.coreboot.org/2199 for details.
-gerrit