From 4995c64857a09c4cc92238ba0bd52cdb06c4c581 Mon Sep 17 00:00:00 2001 From: Martin Blumenstingl Date: Sun, 11 Dec 2016 21:55:00 +0100 Subject: lantiq: specify console using stdout-path instead of cmdline argument Use devicetree's /chosen/stdout-path instead of the kernel command line (embedded in the .dts-files) to specify the serial console. Using the chosen node is recommended on devicetree based platforms. Signed-off-by: Martin Blumenstingl --- target/linux/lantiq/dts/danube.dtsi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'target/linux/lantiq/dts/danube.dtsi') diff --git a/target/linux/lantiq/dts/danube.dtsi b/target/linux/lantiq/dts/danube.dtsi index af691df2f8..37db512454 100644 --- a/target/linux/lantiq/dts/danube.dtsi +++ b/target/linux/lantiq/dts/danube.dtsi @@ -5,8 +5,13 @@ #size-cells = <1>; compatible = "lantiq,xway", "lantiq,danube"; + aliases { + serial0 = &asc1; + }; + chosen { - bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; + bootargs = "init=/etc/preinit"; + stdout-path = "serial0:115200n8"; }; cpus { -- cgit v1.2.3