aboutsummaryrefslogtreecommitdiffstats
path: root/src/console
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-06-21 21:42:25 +1000
committerEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-06-27 04:23:40 +0200
commit0ae068efdb23fa07293dcd55b48d25a095aa062c (patch)
treed186bf700e2a64f87e4b607a04233d59f73c5561 /src/console
parent5e196506860889c9ef19c048e20cd68e55edb885 (diff)
downloadcoreboot-0ae068efdb23fa07293dcd55b48d25a095aa062c.tar.gz
coreboot-0ae068efdb23fa07293dcd55b48d25a095aa062c.tar.xz
coreboot-0ae068efdb23fa07293dcd55b48d25a095aa062c.zip
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> Reviewed-on: http://review.coreboot.org/6091 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <gaumless@gmail.com>
Diffstat (limited to 'src/console')
-rw-r--r--src/console/post.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/console/post.c b/src/console/post.c
index ef1a3a5a1..4f2a87c93 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 */