From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755480AbcESVf3 (ORCPT ); Thu, 19 May 2016 17:35:29 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:34178 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755403AbcESVf0 (ORCPT ); Thu, 19 May 2016 17:35:26 -0400 Date: Thu, 19 May 2016 17:35:17 -0400 From: Jon Mason To: Kefeng Wang Cc: Greg Kroah-Hartman , Jiri Slaby , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, guohanjun@huawei.com, Wei Xu , linux-arm-kernel Subject: Re: [PATCH] serial: 8250_early: Add earlycon support for Synopsys DesignWare ABP UART Message-ID: <20160519213516.GA12456@broadcom.com> References: <1462946761-11982-1-git-send-email-wangkefeng.wang@huawei.com> <573D1ABD.5020908@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <573D1ABD.5020908@huawei.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 19, 2016 at 09:45:33AM +0800, Kefeng Wang wrote: > +Cc Jon and arm-kernel mailist > > Any comments, thanks. It works for me. Please feel free to add Tested-by: Jon Mason Thanks, Jon > > 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 > > --- > > 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 > > > > >