Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1512284

[PATCH RESEND] tty: amba-pl011: Add earlycon support for SBSA UART

From Kefeng Wang <wangkefeng.wang@huawei.com>
Newsgroups linux.kernel
Subject [PATCH RESEND] tty: amba-pl011: Add earlycon support for SBSA UART
Date 2016-10-31 03:10 +0100
Message-ID <syacV-4r8-3@gated-at.bofh.it> (permalink)
References <sxZAS-5Vc-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <linux@armlinux.org.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
---
 drivers/tty/serial/amba-pl011.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c
index e2c33b9..a4a0b3d 100644
--- a/drivers/tty/serial/amba-pl011.c
+++ b/drivers/tty/serial/amba-pl011.c
@@ -2357,6 +2357,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
-- 
1.7.12.4

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH 5/5] tty: amba-pl011: Add earlycon support for SBSA UART Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-10-27 17:30 +0200
  Re: [PATCH 5/5] tty: amba-pl011: Add earlycon support for SBSA UART Kefeng Wang <wangkefeng.wang@huawei.com> - 2016-10-30 10:00 +0100
    Re: [PATCH 5/5] tty: amba-pl011: Add earlycon support for SBSA UART Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-10-30 15:50 +0100
      [PATCH RESEND] tty: amba-pl011: Add earlycon support for SBSA UART Kefeng Wang <wangkefeng.wang@huawei.com> - 2016-10-31 03:10 +0100

csiph-web