aboutsummaryrefslogtreecommitdiffstats
path: root/src/console
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-11-18 13:21:50 +0200
committerPatrick Georgi <pgeorgi@google.com>2014-11-19 17:46:14 +0100
commitf9cdb486d182668e053ca16f115cbc49066d7768 (patch)
treed5d5d1b4336263a1c5823525c71fa33b66b09e9c /src/console
parent91050b7647dad4b89f2d21672cf3287584ea34bd (diff)
downloadcoreboot-f9cdb486d182668e053ca16f115cbc49066d7768.tar.gz
coreboot-f9cdb486d182668e053ca16f115cbc49066d7768.tar.xz
coreboot-f9cdb486d182668e053ca16f115cbc49066d7768.zip
console: Isolate console_init() for ROMCC
Change-Id: I623643834fb1c6af166a851fec7e31447944f0b6 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/7509 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/console')
-rw-r--r--src/console/init.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/console/init.c b/src/console/init.c
index 8bdb2cc05..6d3dc1f68 100644
--- a/src/console/init.c
+++ b/src/console/init.c
@@ -23,14 +23,9 @@
#include <console/console.h>
#include <console/uart.h>
#include <console/streams.h>
-#include <option.h>
-
-#if CONFIG_EARLY_PCI_BRIDGE
-/* FIXME: ROMCC chokes on PCI headers. */
#include <device/pci.h>
-#endif
+#include <option.h>
-#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)
{