Don't try to use CBMEM console in bootblock
Otherwise we have to worry about hand off between bootblock and romstage. Too much complexity Change-Id: I89bf8a229dba7e1330accadf9a732d831ebc4827 Signed-off-by: Stefan Reinauer <reinauer@chromium.org> Signed-off-by: Gabe Black <gabeblack@chromium.org> Reviewed-on: http://review.coreboot.org/3694 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
005151047e
commit
9d9b0dd209
|
@ -41,7 +41,7 @@ void console_tx_byte(unsigned char byte)
|
||||||
#if CONFIG_USBDEBUG
|
#if CONFIG_USBDEBUG
|
||||||
usbdebug_tx_byte(0, byte);
|
usbdebug_tx_byte(0, byte);
|
||||||
#endif
|
#endif
|
||||||
#if CONFIG_CONSOLE_CBMEM
|
#if CONFIG_CONSOLE_CBMEM && !defined(__BOOT_BLOCK__)
|
||||||
cbmemc_tx_byte(byte);
|
cbmemc_tx_byte(byte);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -117,7 +117,7 @@ void console_init(void)
|
||||||
#if CONFIG_CONSOLE_NE2K
|
#if CONFIG_CONSOLE_NE2K
|
||||||
ne2k_init(CONFIG_CONSOLE_NE2K_IO_PORT);
|
ne2k_init(CONFIG_CONSOLE_NE2K_IO_PORT);
|
||||||
#endif
|
#endif
|
||||||
#if CONFIG_CONSOLE_CBMEM
|
#if CONFIG_CONSOLE_CBMEM && !defined(__BOOT_BLOCK__)
|
||||||
cbmemc_init();
|
cbmemc_init();
|
||||||
#endif
|
#endif
|
||||||
#if CONFIG_SPKMODEM
|
#if CONFIG_SPKMODEM
|
||||||
|
|
Loading…
Reference in New Issue