console: Split console_init()

Splitting the version prompt satisfies some requirements ROMCC
sets for the order in which we include source files. Also GDB
stub will need console hardware before entering main().

Change-Id: Ibb445a2f8cfb440d9dd69cade5f0ea41fb606f50
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/5331
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
Kyösti Mälkki
2014-02-14 10:04:31 +02:00
committed by Patrick Georgi
parent d53d96dddd
commit 21333f96c7
7 changed files with 67 additions and 47 deletions

View File

@@ -53,6 +53,7 @@ extern int console_loglevel;
#ifndef __ROMCC__
void console_init(void);
void console_hw_init(void);
void console_tx_byte(unsigned char byte);
void console_tx_flush(void);
void post_code(u8 value);