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:
committed by
Patrick Georgi
parent
d53d96dddd
commit
21333f96c7
@@ -56,7 +56,7 @@ void main(void)
|
||||
bootblock_mainboard_init();
|
||||
}
|
||||
|
||||
#ifdef CONFIG_BOOTBLOCK_CONSOLE
|
||||
#if CONFIG_BOOTBLOCK_CONSOLE
|
||||
console_init();
|
||||
#endif
|
||||
|
||||
|
@@ -27,5 +27,3 @@ smm-y += rom_media.c
|
||||
rmodules-y += memset.c
|
||||
rmodules-y += memcpy.c
|
||||
rmodules-y += memmove.c
|
||||
|
||||
$(obj)/arch/x86/lib/console.ramstage.o :: $(obj)/build.h
|
||||
|
@@ -129,7 +129,6 @@ static void __console_tx_string(int loglevel, const char *str)
|
||||
|
||||
/* if included by romcc, include the sources, too. romcc can't use prototypes */
|
||||
#include <console/console.c>
|
||||
#include <console/init.c>
|
||||
#include <console/post.c>
|
||||
#include <console/die.c>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user