[coreboot-gerrit] Patch set updated for coreboot: 288862c src/console/post.c: Sanitize headers from preprocessor abuse

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Tue Jun 24 10:46:51 CEST 2014


Edward O'Callaghan (eocallaghan at alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6091

-gerrit

commit 288862c2b1be8ada3a90c8042ebeb898344ed7b6
Author: Edward O'Callaghan <eocallaghan at 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 at alterapraxis.com>
---
 src/console/post.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/console/post.c b/src/console/post.c
index ef1a3a5..4f2a87c 100644
--- a/src/console/post.c
+++ b/src/console/post.c
@@ -20,15 +20,11 @@
  */
 
 #include <arch/io.h>
+#include <elog.h>
 #include <console/console.h>
-#if CONFIG_CMOS_POST
+#include <device/device.h>
 #include <pc80/mc146818rtc.h>
 #include <smp/spinlock.h>
-#endif
-#if CONFIG_CMOS_POST_EXTRA
-#include <device/device.h>
-#endif
-#include <elog.h>
 
 /* Write POST information */
 



More information about the coreboot-gerrit mailing list