Browse Source

ARM: hisilicon: DT: Drop console= and earlyprintk bootargs parameter

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 <xuwei5@hisilicon.com>
Wei Xu 10 years ago
parent
commit
14317946d1
2 changed files with 3 additions and 2 deletions
  1. 2 1
      arch/arm/boot/dts/hi3620-hi4511.dts
  2. 1 1
      arch/arm/boot/dts/hisi-x5hd2-dkb.dts

+ 2 - 1
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 {

+ 1 - 1
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 {