From 1de9cac2f993738bf6a7ff2261bb382549a7863b Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Tue, 14 Jul 2020 12:01:51 +0200 Subject: ramips: move redundant console setup to mt7621 SoC DTSI For mt7621, console is set up via DTS bootargs individually in device DTS/DTSI files. However, 44 of 74 statements use the following setting: chosen { bootargs = "console=ttyS0,57600"; }; Therefore, don't repeat ourselves and move that definition to the SoC DTSI file to serve as a default value. This patch is cosmetic. Signed-off-by: Adrian Schmutzler --- target/linux/ramips/dts/mt7621_netis_wf2881.dts | 4 ---- 1 file changed, 4 deletions(-) (limited to 'target/linux/ramips/dts/mt7621_netis_wf2881.dts') diff --git a/target/linux/ramips/dts/mt7621_netis_wf2881.dts b/target/linux/ramips/dts/mt7621_netis_wf2881.dts index e937134ae9..cd49f0a6b3 100644 --- a/target/linux/ramips/dts/mt7621_netis_wf2881.dts +++ b/target/linux/ramips/dts/mt7621_netis_wf2881.dts @@ -17,10 +17,6 @@ label-mac-device = &gmac0; }; - chosen { - bootargs = "console=ttyS0,57600"; - }; - leds { compatible = "gpio-leds"; -- cgit v1.2.3