console: Use romstage code for ramstage and SMM
Console is arch-agnostic and there is no need for separate implementations for romstage and ramstage. For SMM there is console only if DEBUG_SMI is selected. Change-Id: I7028eeeff8bfbb9c8552972436b29a7508834d87 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5338 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
@ -22,6 +22,7 @@
|
||||
#include <build.h>
|
||||
#include <console/console.h>
|
||||
#include <console/uart.h>
|
||||
#include <console/streams.h>
|
||||
#include <option.h>
|
||||
|
||||
#if CONFIG_EARLY_PCI_BRIDGE
|
||||
@ -46,7 +47,7 @@ void console_init(void)
|
||||
console_loglevel=CONFIG_DEFAULT_CONSOLE_LOGLEVEL;
|
||||
#endif
|
||||
|
||||
#if CONFIG_EARLY_PCI_BRIDGE
|
||||
#if CONFIG_EARLY_PCI_BRIDGE && !defined(__SMM__)
|
||||
pci_early_bridge_init();
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user