the following patch was just integrated into master: commit fe9e30d6b74e340f9a97b9e358e20ec8a2785954 Author: Alexandru Gagniuc mr.nuke.me@gmail.com Date: Sat Nov 23 17:46:04 2013 -0600
include/types.h: Add generic enum for error codes
The idea is that instead of: if (do_something()) do_something_else(); It is more readable to write: if (do_something() != CB_SUCCESS) handle_error();
Change-Id: I4fa5a6f2d2960cd747fda6602bdfff6aef08f8e2 Signed-off-by: Alexandru Gagniuc mr.nuke.me@gmail.com Reviewed-on: http://review.coreboot.org/4264 Tested-by: build bot (Jenkins) Reviewed-by: Vladimir Serbinenko phcoder@gmail.com Reviewed-by: Ronald G. Minnich rminnich@gmail.com
See http://review.coreboot.org/4264 for details.
-gerrit