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
@@ -1,5 +1,5 @@
|
||||
ramstage-y += printk.c
|
||||
ramstage-y += console.c
|
||||
ramstage-y += init.c console.c
|
||||
ramstage-y += vtxprintf.c
|
||||
ramstage-y += vsprintf.c
|
||||
ramstage-y += post.c
|
||||
@@ -9,12 +9,12 @@ smm-$(CONFIG_DEBUG_SMI) += vtxprintf.c printk.c
|
||||
smm-$(CONFIG_SMM_TSEG) += die.c
|
||||
|
||||
romstage-$(CONFIG_EARLY_CONSOLE) += vtxprintf.c
|
||||
romstage-y += console.c
|
||||
romstage-$(CONFIG_EARLY_CONSOLE) += init.c console.c
|
||||
romstage-y += post.c
|
||||
romstage-y += die.c
|
||||
|
||||
bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += vtxprintf.c
|
||||
bootblock-y += console.c
|
||||
bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += init.c console.c
|
||||
bootblock-y += die.c
|
||||
|
||||
ramstage-$(CONFIG_CONSOLE_SERIAL) += uart_console.c
|
||||
@@ -25,6 +25,6 @@ ramstage-$(CONFIG_CONSOLE_CBMEM) += cbmem_console.c
|
||||
ramstage-$(CONFIG_CONSOLE_QEMU_DEBUGCON) += qemu_debugcon_console.c
|
||||
|
||||
|
||||
$(obj)/console/console.ramstage.o : $(obj)/build.h
|
||||
$(obj)/console/console.romstage.o : $(obj)/build.h
|
||||
$(obj)/console/console.bootblock.o : $(obj)/build.h
|
||||
$(obj)/console/init.ramstage.o : $(obj)/build.h
|
||||
$(obj)/console/init.romstage.o : $(obj)/build.h
|
||||
$(obj)/console/init.bootblock.o : $(obj)/build.h
|
||||
|
Reference in New Issue
Block a user