Stefan Reinauer f0aa09b51b fix newly introduced printk_foo warnings..
Interesting enough, console_printk was only used in a single place and
duplicated a large part of console.h which is included in the same place.
Thus, just drop console_printk.c and we're one down with console complexity

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>




git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5274 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2010-03-23 13:23:40 +00:00

29 lines
503 B
C

#include <build.h>
#include <console/loglevel.h>
#if CONFIG_USE_PRINTK_IN_CAR == 0
#include "console_print.c"
#else /* CONFIG_USE_PRINTK_IN_CAR == 1 */
#include <console/console.h>
#endif /* CONFIG_USE_PRINTK_IN_CAR */
void console_init(void)
{
static const char console_test[] =
"\r\n\r\ncoreboot-"
COREBOOT_VERSION
COREBOOT_EXTRA_VERSION
" "
COREBOOT_BUILD
" starting...\r\n";
print_info(console_test);
}
void die(const char *str)
{
print_emerg(str);
do {
hlt();
} while(1);
}