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_afoundry_ew1200.dts | 4 ---- 1 file changed, 4 deletions(-) (limited to 'target/linux/ramips/dts/mt7621_afoundry_ew1200.dts') diff --git a/target/linux/ramips/dts/mt7621_afoundry_ew1200.dts b/target/linux/ramips/dts/mt7621_afoundry_ew1200.dts index 2384fadbee..661c7d89de 100644 --- a/target/linux/ramips/dts/mt7621_afoundry_ew1200.dts +++ b/target/linux/ramips/dts/mt7621_afoundry_ew1200.dts @@ -16,10 +16,6 @@ led-upgrade = &led_run; }; - chosen { - bootargs = "console=ttyS0,57600"; - }; - keys { compatible = "gpio-keys"; -- cgit v1.2.3