diff options
author | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-06-21 21:42:25 +1000 |
---|---|---|
committer | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-06-27 04:23:40 +0200 |
commit | 0ae068efdb23fa07293dcd55b48d25a095aa062c (patch) | |
tree | d186bf700e2a64f87e4b607a04233d59f73c5561 /src/console | |
parent | 5e196506860889c9ef19c048e20cd68e55edb885 (diff) |
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.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/console/post.c b/src/console/post.c index ef1a3a5a1d..4f2a87c93e 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 */ |