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_tplink_rexx0-v1.dtsi | 4 ---- 1 file changed, 4 deletions(-) (limited to 'target/linux/ramips/dts/mt7621_tplink_rexx0-v1.dtsi') diff --git a/target/linux/ramips/dts/mt7621_tplink_rexx0-v1.dtsi b/target/linux/ramips/dts/mt7621_tplink_rexx0-v1.dtsi index fa9d16a55a..7e860cb00e 100644 --- a/target/linux/ramips/dts/mt7621_tplink_rexx0-v1.dtsi +++ b/target/linux/ramips/dts/mt7621_tplink_rexx0-v1.dtsi @@ -10,10 +10,6 @@ label-mac-device = &gmac0; }; - chosen { - bootargs = "console=ttyS0,57600"; - }; - keys { compatible = "gpio-keys"; -- cgit v1.2.3