Edward O'Callaghan (eocallaghan@alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6091
-gerrit
commit 8019ff1f1f879cbb78e30f14de3e0230e1bd27ca Author: Edward O'Callaghan eocallaghan@alterapraxis.com Date: Sat Jun 21 21:42:25 2014 +1000
src/console/post.c: Sanitize headers from preprocessor abuse
Continuing on from the rational given in:
a173a62 Remove guarding #includes by CONFIG_FOO combinations
Change-Id: I524713b21684f6fa99355614a1ab38aee9975790 Signed-off-by: Edward O'Callaghan eocallaghan@alterapraxis.com --- src/console/post.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/console/post.c b/src/console/post.c index ef1a3a5..a108a7b 100644 --- a/src/console/post.c +++ b/src/console/post.c @@ -20,15 +20,15 @@ */
#include <arch/io.h> +#include <elog.h> #include <console/console.h> -#if CONFIG_CMOS_POST #include <pc80/mc146818rtc.h> #include <smp/spinlock.h> -#endif -#if CONFIG_CMOS_POST_EXTRA + +/* FIXME: unwrapping these header guards breaks builds due to deeper issues */ +#if !defined(__ROMCC__) #include <device/device.h> -#endif -#include <elog.h> +#endif /* __ROMCC__ */
/* Write POST information */