CBMEM CONSOLE: Add code using the new console driver.

The new added code is compiled in when the CBMEM_CONSOLE config
flag is enabled.

Change-Id: Ifd1f492ce6321412a014333babbc5b3f14635988
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: http://review.coreboot.org/721
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
Vadim Bendebury
2011-09-30 11:16:49 -07:00
committed by Stefan Reinauer
parent be25a4ded0
commit 1078c67af1
4 changed files with 13 additions and 1 deletions

View File

@ -87,7 +87,7 @@ int console_tst_byte(void)
return 0;
}
#else
#else // __PRE_RAM__ ^^^ NOT defined vvv defined
void console_init(void)
{
@ -103,6 +103,9 @@ void console_init(void)
#endif
#if CONFIG_CONSOLE_NE2K
ne2k_init(CONFIG_CONSOLE_NE2K_IO_PORT);
#endif
#if CONFIG_CONSOLE_CBMEM
cbmemc_init();
#endif
static const char console_test[] =
"\n\ncoreboot-"