console: add configs to support Marvell bg4cd uart
This adds a new option to the set of console UART choices and uses the
common console wrapper for bg4cd based devices.
BRANCH=none
BUG=chrome-os-partner:32631
TEST=with the upcoming SOC specific patch applied, when building with
serial console enabled the following option shows up in
auto.conf:
CONFIG_CONSOLE_SERIAL_BG4CD=y
Change-Id: Id2aa2ed4827740aaf04514233bd57cd8df0fea55
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/223596
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
99b13bf9da
commit
4a6db7b19c
2 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue