console: Drop driver list in ramstage

Hardware / Coreboot - Kyösti Mälkki [gmail.com] - 18 April 2014 09:39 UTC

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

fd95624 console: Drop driver list in ramstage
src/arch/armv7/coreboot_ram.ld | 4 ---
src/arch/x86/coreboot_ram.ld | 4 ---
src/console/Makefile.inc | 8 -----
src/console/cbmem_console.c | 36 -------------------
src/console/console.c | 65 +++++------------------------------
src/console/ne2k_console.c | 37 --------------------
src/console/qemu_debugcon_console.c | 37 --------------------
src/console/spkmodem_console.c | 46 -------------------------
src/console/uart_console.c | 59 -------------------------------
src/console/usbdebug_console.c | 56 ------------------------------
src/drivers/uart/uart8250io.c | 5 ---
src/drivers/uart/uart8250mem.c | 8 -----
src/include/console/console.h | 18 ----------
src/include/console/uart.h | 1 -
src/lib/rmodule.ld | 4 ---
15 files changed, 9 insertions(+), 379 deletions(-)

Upstream: review.coreboot.org


  • Share