From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754529AbcI0K55 (ORCPT ); Tue, 27 Sep 2016 06:57:57 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:58993 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751039AbcI0K5p (ORCPT ); Tue, 27 Sep 2016 06:57:45 -0400 Date: Tue, 27 Sep 2016 12:57:48 +0200 From: Greg Kroah-Hartman To: Kefeng Wang Cc: Wei Xu , Rob Herring , Mark Rutland , linux-arm-kernel@lists.infradead.org, Catalin Marinas , Will Deacon , majun258@huawei.com, guohanjun@huawei.com, linux-kernel@vger.kernel.org, Russell King Subject: Re: [PATCH 5/5] tty: amba-pl011: Add earlycon support for SBSA UART Message-ID: <20160927105748.GA3847@kroah.com> References: <1474708465-38958-1-git-send-email-wangkefeng.wang@huawei.com> <1474708465-38958-6-git-send-email-wangkefeng.wang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1474708465-38958-6-git-send-email-wangkefeng.wang@huawei.com> User-Agent: Mutt/1.7.0 (2016-08-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 24, 2016 at 05:14:25PM +0800, Kefeng Wang wrote: > 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 > --- > 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 7d9b291..3688d3b 100644 > --- a/drivers/tty/serial/amba-pl011.c > +++ b/drivers/tty/serial/amba-pl011.c > @@ -2330,6 +2330,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); Why do you need another option for the same thing? confused, greg k-h