summaryrefslogtreecommitdiff
path: root/src/console/init.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-01-27 15:09:13 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2014-04-09 11:36:06 +0200
commitb2d25967142437a82da150d0134923e3fd783dbf (patch)
tree9ac69ad73a6ccf8f9ef2f90052980e41218c2fe3 /src/console/init.c
parent21333f96c78e6181c7a376538c48f3718b71d9ef (diff)
console: Unify do_printk()
Change-Id: I6c50e47d9d2d0d1f42beee477e49b2a0054d1786 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5332 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/console/init.c')
-rw-r--r--src/console/init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/console/init.c b/src/console/init.c
index 28934e751e..c6ceab54c2 100644
--- a/src/console/init.c
+++ b/src/console/init.c
@@ -29,6 +29,10 @@
#include <device/pci.h>
#endif
+#if !defined(__PRE_RAM__)
+int console_loglevel = CONFIG_DEFAULT_CONSOLE_LOGLEVEL;
+#endif
+
void console_init(void)
{
#if !defined(__PRE_RAM__)