diff --git a/src/console/Kconfig b/src/console/Kconfig index 656058d17d..03a79a0e6b 100644 --- a/src/console/Kconfig +++ b/src/console/Kconfig @@ -36,6 +36,15 @@ config CONSOLE_SERIAL_IPQ806X help Send coreboot debug output to an SGMI based uart (ipq806x) +config CONSOLE_SERIAL_BG4CD + bool "Serial port console output for Marvell BG4CD" + depends on CONSOLE_SERIAL + depends on SOC_MARVELL_BG4CD + default y + help + Enable use of Marvell BG4CD based uart for coreboot serial console + output. + config CONSOLE_SERIAL8250MEM bool "Serial port console output (memory mapped, 8250-compatible)" depends on CONSOLE_SERIAL diff --git a/src/console/Makefile.inc b/src/console/Makefile.inc index 85376b7170..7db26637a8 100644 --- a/src/console/Makefile.inc +++ b/src/console/Makefile.inc @@ -28,6 +28,7 @@ ramstage-$(CONFIG_USBDEBUG) += usbdebug_console.c ramstage-$(CONFIG_CONSOLE_NE2K) += ne2k_console.c ramstage-$(CONFIG_CONSOLE_CBMEM) += cbmem_console.c ramstage-$(CONFIG_CONSOLE_SERIAL_IPQ806X) += uart_wrapper.c +ramstage-$(CONFIG_CONSOLE_SERIAL_BG4CD) += uart_wrapper.c secmon-$(CONFIG_ARCH_USE_SECURE_MONITOR) += vtxprintf.c secmon-$(CONFIG_ARCH_USE_SECURE_MONITOR) += console.c