From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757580AbbJIQLV (ORCPT ); Fri, 9 Oct 2015 12:11:21 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:19103 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757233AbbJIQLS (ORCPT ); Fri, 9 Oct 2015 12:11:18 -0400 Message-ID: <5617E6FC.6090304@hisilicon.com> Date: Fri, 9 Oct 2015 17:10:36 +0100 From: Wei Xu User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Arnd Bergmann , Kevin Hilman , "Olof Johansson" , Haojian Zhuang CC: Yanhaifeng , Jiancheng Xue , Zhangfei Gao , Wei Xu , , linux-arm-kernel , linux-kernel , Linuxarm Subject: [PATCH] ARM: hisilicon: DT: Drop console= and earlyprintk bootargs parameter Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.137.250] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replace console with stdout-path so that we don't have to put the console on the kernel command line. Remove earlyprintk to allow the kernel to boot on a system even if DEBUG_LL is configured for another system. Signed-off-by: Wei Xu Tested-by: Zhangfei Gao --- arch/arm/boot/dts/hi3620-hi4511.dts | 3 ++- arch/arm/boot/dts/hisi-x5hd2-dkb.dts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/hi3620-hi4511.dts b/arch/arm/boot/dts/hi3620-hi4511.dts index fe62392..a579fbf 100644 --- a/arch/arm/boot/dts/hi3620-hi4511.dts +++ b/arch/arm/boot/dts/hi3620-hi4511.dts @@ -16,7 +16,8 @@ compatible = "hisilicon,hi3620-hi4511"; chosen { - bootargs = "console=ttyAMA0,115200 root=/dev/ram0 earlyprintk"; + bootargs = "root=/dev/ram0"; + stdout-path = "serial0:115200n8"; }; memory { diff --git a/arch/arm/boot/dts/hisi-x5hd2-dkb.dts b/arch/arm/boot/dts/hisi-x5hd2-dkb.dts index 721b092..d13af84 100644 --- a/arch/arm/boot/dts/hisi-x5hd2-dkb.dts +++ b/arch/arm/boot/dts/hisi-x5hd2-dkb.dts @@ -15,7 +15,7 @@ compatible = "hisilicon,hix5hd2"; chosen { - bootargs = "console=ttyAMA0,115200 earlyprintk"; + stdout-path = "serial0:115200n8"; }; cpus { -- 1.9.1