drop claim that our files were blatantly copied, because they have been rewritten a very long time ago. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4837 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
33 lines
564 B
C
33 lines
564 B
C
#include <console/loglevel.h>
|
|
|
|
#if CONFIG_USE_PRINTK_IN_CAR == 0
|
|
#include "console_print.c"
|
|
#else /* CONFIG_USE_PRINTK_IN_CAR == 1 */
|
|
#include "console_printk.c"
|
|
#endif /* CONFIG_USE_PRINTK_IN_CAR */
|
|
|
|
#ifndef COREBOOT_EXTRA_VERSION
|
|
#define COREBOOT_EXTRA_VERSION ""
|
|
#endif
|
|
|
|
static 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);
|
|
}
|