console: Drop driver list in ramstage
This framework was only available in ramstage. So we had to define console output functions separately for bootblock, romstage and SMM. Follow-up patches will re-enable all the consoles removed here, in a more flexible fashion, and with less lines-of-code and copy-paste. Also the driver list is not in a well-defined order and some of the loops could exit without visiting all drivers. NOTE: This build has no console in ramstage. Change-Id: Iaddc495aaca37e2a6c2c3f802a0dba27bf227a3e Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5337 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
@@ -15,14 +15,6 @@ bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += vtxprintf.c printk.c
|
||||
bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += init.c console.c
|
||||
bootblock-y += die.c
|
||||
|
||||
ramstage-$(CONFIG_CONSOLE_SERIAL) += uart_console.c
|
||||
ramstage-$(CONFIG_SPKMODEM) += spkmodem_console.c
|
||||
ramstage-$(CONFIG_CONSOLE_USB) += usbdebug_console.c
|
||||
ramstage-$(CONFIG_CONSOLE_NE2K) += ne2k_console.c
|
||||
ramstage-$(CONFIG_CONSOLE_CBMEM) += cbmem_console.c
|
||||
ramstage-$(CONFIG_CONSOLE_QEMU_DEBUGCON) += qemu_debugcon_console.c
|
||||
|
||||
|
||||
$(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