console: Isolate console_init() for ROMCC
Change-Id: I623643834fb1c6af166a851fec7e31447944f0b6 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/7509 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
This commit is contained in:
committed by
Patrick Georgi
parent
91050b7647
commit
f9cdb486d1
@@ -17,6 +17,7 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <build.h>
|
||||
#include <console/streams.h>
|
||||
#include <console/early_print.h>
|
||||
|
||||
@@ -60,6 +61,20 @@ void console_tx_flush(void)
|
||||
}
|
||||
|
||||
#include <console/early_print.c>
|
||||
#include <console/init.c>
|
||||
#include <console/post.c>
|
||||
#include <console/die.c>
|
||||
|
||||
void console_init(void)
|
||||
{
|
||||
static const char console_test[] =
|
||||
"\n\ncoreboot-"
|
||||
COREBOOT_VERSION
|
||||
COREBOOT_EXTRA_VERSION
|
||||
" "
|
||||
COREBOOT_BUILD
|
||||
" starting...\n";
|
||||
|
||||
console_hw_init();
|
||||
|
||||
print_info(console_test);
|
||||
}
|
||||
|
Reference in New Issue
Block a user