libpayload: Add minimal support for PL011 UART
This creates a new PL011 config variable which avoids the infinite busy wait on serial_putchar() because the register mapping is not compatible with current implementation. BUG=None BRANCH=none TEST=printf() works on the PL011 based ARMv8 foundation model Original-Change-Id: I9feda35a50a3488fc504d1561444161e0889deda Original-Signed-off-by: Marcelo Povoa <marcelogp@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/187020 Original-Reviewed-by: David Hendricks <dhendrix@chromium.org> (cherry picked from commit 85779a34a161c324cc8af995ada4393137275f20) Signed-off-by: Marc Jones <marc.jones@se-eng.com> Conflicts: payloads/libpayload/Config.in payloads/libpayload/drivers/serial.c Change-Id: I23c8b3728cd7d2d7692b3e86a679e061e88f7bb5 Reviewed-on: http://review.coreboot.org/7422 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks <dhendrix@chromium.org>
This commit is contained in:
committed by
Marc Jones
parent
d4d29a1a7e
commit
558e9b55c8
@@ -178,6 +178,11 @@ config TEGRA_SERIAL_CONSOLE
|
||||
depends on SERIAL_CONSOLE
|
||||
default n
|
||||
|
||||
config PL011_SERIAL_CONSOLE
|
||||
bool "PL011 compatible serial port driver"
|
||||
depends on 8250_SERIAL_CONSOLE
|
||||
default n
|
||||
|
||||
config SERIAL_IOBASE
|
||||
## This default is currently not used on non-x86 systems.
|
||||
hex "Default I/O base for the serial port (default 0x3f8)"
|
||||
|
Reference in New Issue
Block a user