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>
This commit is contained in:
Kyösti Mälkki
2014-01-27 15:09:13 +02:00
committed by Patrick Georgi
parent 21333f96c7
commit b2d2596714
5 changed files with 14 additions and 53 deletions

View File

@ -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__)