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


Groups > linux.kernel > #1403387

Re: [PATCH] serial: 8250_early: Add earlycon support for Synopsys DesignWare ABP UART

From Kefeng Wang <wangkefeng.wang@huawei.com>
Newsgroups linux.kernel
Subject Re: [PATCH] serial: 8250_early: Add earlycon support for Synopsys DesignWare ABP UART
Date 2016-05-19 03:50 +0200
Message-ID <rAlg5-1wT-9@gated-at.bofh.it> (permalink)
References <rxvvk-2lI-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


+Cc Jon and arm-kernel mailist

Any comments, thanks.

Kefeng

On 2016/5/11 14:06, Kefeng Wang wrote:
> Some board like Hisilicon D02 uses Synopsys DesignWare ABP UART, declare an
> OF early console for it, so early console device can be enabled with comand
> line "earlycon"(without option) via the "stdout-path" property in device-tree.
> 
> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
> ---
>  drivers/tty/serial/8250/8250_early.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/tty/serial/8250/8250_early.c b/drivers/tty/serial/8250/8250_early.c
> index 8d08ff5..85a12f0 100644
> --- a/drivers/tty/serial/8250/8250_early.c
> +++ b/drivers/tty/serial/8250/8250_early.c
> @@ -150,6 +150,7 @@ EARLYCON_DECLARE(uart, early_serial8250_setup);
>  OF_EARLYCON_DECLARE(ns16550, "ns16550", early_serial8250_setup);
>  OF_EARLYCON_DECLARE(ns16550a, "ns16550a", early_serial8250_setup);
>  OF_EARLYCON_DECLARE(uart, "nvidia,tegra20-uart", early_serial8250_setup);
> +OF_EARLYCON_DECLARE(uart, "snps,dw-apb-uart", early_serial8250_setup);
>  
>  #ifdef CONFIG_SERIAL_8250_OMAP
>  
> 

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


Thread

Re: [PATCH] serial: 8250_early: Add earlycon support for Synopsys  DesignWare ABP UART Kefeng Wang <wangkefeng.wang@huawei.com> - 2016-05-19 03:50 +0200
  Re: [PATCH] serial: 8250_early: Add earlycon support for Synopsys  DesignWare ABP UART Jon Mason <jon.mason@broadcom.com> - 2016-05-19 23:40 +0200

csiph-web