mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 17:11:42 +00:00
The console drivers (especially serial drivers) in Kconfig were named in
different styles. This change will rename configuration names to a better naming
style.
- EARLY_CONSOLE:
Enable output in pre-ram stage. (Renamed from EARLY_SERIAL_CONSOLE
because it also supports non-serial)
- CONSOLE_SERIAL:
Enable serial output console, from one of the serial drivers. (Renamed
from SERIAL_CONSOLE because other non-serial drivers are named as
CONSOLE_XXX like CONSOLE_CBMEM)
- CONSOLE_SERIAL_UART:
Device-specific UART driver. (Renamed from
CONSOLE_SERIAL_NONSTANDARD_MEM because it may be not memory-mapped)
- HAVE_UART_SPECIAL:
A dependency for CONSOLE_SERIAL_UART.
Verified to boot on x86/qemu and armv7/snow, and still seeing console
messages in romstage for both platforms.
Change-Id: I4bea3c8fea05bbb7d78df6bc22f82414ac66f973
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: http://review.coreboot.org/2299
Tested-by: build bot (Jenkins)
Reviewed-by: David Hendricks <dhendrix@chromium.org>
32 lines
918 B
Makefile
32 lines
918 B
Makefile
ramstage-y += printk.c
|
|
ramstage-y += console.c
|
|
ramstage-y += vtxprintf.c
|
|
ramstage-y += vsprintf.c
|
|
ramstage-y += post.c
|
|
ramstage-y += die.c
|
|
|
|
smm-y += printk.c
|
|
smm-y += vtxprintf.c
|
|
smm-$(CONFIG_SMM_TSEG) += die.c
|
|
|
|
romstage-y += vtxprintf.c
|
|
romstage-$(CONFIG_EARLY_CONSOLE) += console.c
|
|
romstage-y += post.c
|
|
romstage-y += die.c
|
|
|
|
# TODO Add vtxprintf.c only when early console is required.
|
|
bootblock-y += vtxprintf.c
|
|
bootblock-$(CONFIG_EARLY_CONSOLE) += console.c
|
|
bootblock-y += die.c
|
|
|
|
ramstage-$(CONFIG_CONSOLE_SERIAL8250) += uart8250_console.c
|
|
ramstage-$(CONFIG_CONSOLE_SERIAL8250MEM) += uart8250mem_console.c
|
|
ramstage-$(CONFIG_USBDEBUG) += usbdebug_console.c
|
|
ramstage-$(CONFIG_CONSOLE_LOGBUF) += logbuf_console.c
|
|
ramstage-$(CONFIG_CONSOLE_NE2K) += ne2k_console.c
|
|
ramstage-$(CONFIG_CONSOLE_CBMEM) += cbmem_console.c
|
|
|
|
|
|
$(obj)/console/console.ramstage.o : $(obj)/build.h
|
|
$(obj)/console/console.romstage.o : $(obj)/build.h
|