From f9cdb486d182668e053ca16f115cbc49066d7768 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Tue, 18 Nov 2014 13:21:50 +0200 Subject: console: Isolate console_init() for ROMCC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I623643834fb1c6af166a851fec7e31447944f0b6 Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/7509 Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan --- src/console/init.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/console') diff --git a/src/console/init.c b/src/console/init.c index 8bdb2cc054..6d3dc1f68a 100644 --- a/src/console/init.c +++ b/src/console/init.c @@ -23,14 +23,9 @@ #include #include #include -#include - -#if CONFIG_EARLY_PCI_BRIDGE -/* FIXME: ROMCC chokes on PCI headers. */ #include -#endif +#include -#if !defined(__ROMCC__) /* While in romstage, console loglevel is built-time constant. */ static ROMSTAGE_CONST int console_loglevel = CONFIG_DEFAULT_CONSOLE_LOGLEVEL; @@ -38,7 +33,6 @@ int console_log_level(int msg_level) { return (console_loglevel >= msg_level); } -#endif void console_init(void) { -- cgit v1.2.3