From: Kefeng Wang Date: Mon, 31 Oct 2016 02:04:19 +0000 (+0800) Subject: tty: amba-pl011: Add earlycon support for SBSA UART X-Git-Tag: Ubuntu-5.4-5.4.0-11.14~8841^2~15 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=fcb321590c9df4564003825258af67cfcb5aac55;p=mirror_ubuntu-focal-kernel.git tty: amba-pl011: Add earlycon support for SBSA UART Declare an OF early console for SBSA UART so that the early console device can be specified via the "stdout-path" property in device-tree. Cc: Russell King Cc: Greg Kroah-Hartman Signed-off-by: Kefeng Wang Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c index c00ab22afe9e..d4171d71a258 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -2412,6 +2412,7 @@ static int __init pl011_early_console_setup(struct earlycon_device *device, return 0; } OF_EARLYCON_DECLARE(pl011, "arm,pl011", pl011_early_console_setup); +OF_EARLYCON_DECLARE(pl011, "arm,sbsa-uart", pl011_early_console_setup); #else #define AMBA_CONSOLE NULL