[openwrt/openwrt] ramips: dts: remove redundant console bootargs

LEDE Commits lede-commits at lists.infradead.org
Wed Mar 26 01:50:46 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/8940cc3919858752023fe10437376c83b2098586

commit 8940cc3919858752023fe10437376c83b2098586
Author: Shiji Yang <yangshiji66 at qq.com>
AuthorDate: Thu Mar 20 01:26:35 2025 +0800

    ramips: dts: remove redundant console bootargs
    
    `bootargs = "console=ttyS0,57600";` is already defined on all
    ramips target SoCs' dtsi. We don't need to override it with the
    same value.
    
    Signed-off-by: Shiji Yang <yangshiji66 at qq.com>
    Link: https://github.com/openwrt/openwrt/pull/18303
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 target/linux/ramips/dts/mt7620a_bolt_bl100.dts          | 4 ----
 target/linux/ramips/dts/mt7621_confiabits_mt7621-v1.dts | 4 ----
 target/linux/ramips/dts/mt7621_zyxel_lte3301-plus.dts   | 5 -----
 target/linux/ramips/dts/mt7628an_yuncore_cpe200.dts     | 4 ----
 target/linux/ramips/dts/mt7628an_yuncore_m300.dts       | 4 ----
 5 files changed, 21 deletions(-)

diff --git a/target/linux/ramips/dts/mt7620a_bolt_bl100.dts b/target/linux/ramips/dts/mt7620a_bolt_bl100.dts
index d12933a81f..09f3123b4f 100644
--- a/target/linux/ramips/dts/mt7620a_bolt_bl100.dts
+++ b/target/linux/ramips/dts/mt7620a_bolt_bl100.dts
@@ -19,10 +19,6 @@
 		label-mac-device = ðernet;
 	};
 
-	chosen {
-		bootargs = "console=ttyS0,57600";
-	};
-
 	leds {
 		compatible = "gpio-leds";
 
diff --git a/target/linux/ramips/dts/mt7621_confiabits_mt7621-v1.dts b/target/linux/ramips/dts/mt7621_confiabits_mt7621-v1.dts
index 858747ecad..8758aeb368 100644
--- a/target/linux/ramips/dts/mt7621_confiabits_mt7621-v1.dts
+++ b/target/linux/ramips/dts/mt7621_confiabits_mt7621-v1.dts
@@ -17,10 +17,6 @@
 		led-upgrade = &led_power_green;
 	};
 
-	chosen {
-		bootargs = "console=ttyS0,57600";
-	};
-
 	keys {
 		compatible = "gpio-keys";
 
diff --git a/target/linux/ramips/dts/mt7621_zyxel_lte3301-plus.dts b/target/linux/ramips/dts/mt7621_zyxel_lte3301-plus.dts
index 2a556190d0..398a1a1180 100644
--- a/target/linux/ramips/dts/mt7621_zyxel_lte3301-plus.dts
+++ b/target/linux/ramips/dts/mt7621_zyxel_lte3301-plus.dts
@@ -17,11 +17,6 @@
 		led-upgrade = &led_power;
 	};
 
-
-	chosen {
-		bootargs = "console=ttyS0,57600";
-	};
-
 	gpio_export {
 		compatible = "gpio-export";
 		#size-cells = <0>;
diff --git a/target/linux/ramips/dts/mt7628an_yuncore_cpe200.dts b/target/linux/ramips/dts/mt7628an_yuncore_cpe200.dts
index 6e6202f02b..f6c26a7bd9 100644
--- a/target/linux/ramips/dts/mt7628an_yuncore_cpe200.dts
+++ b/target/linux/ramips/dts/mt7628an_yuncore_cpe200.dts
@@ -8,10 +8,6 @@
 	compatible = "yuncore,cpe200", "mediatek,mt7628an-soc";
 	model = "Yuncore CPE200";
 
-	chosen {
-		bootargs = "console=ttyS0,57600";
-	};
-
 	aliases {
 		label-mac = ðernet;
 		led-boot = &led_power;
diff --git a/target/linux/ramips/dts/mt7628an_yuncore_m300.dts b/target/linux/ramips/dts/mt7628an_yuncore_m300.dts
index 8897c11d67..b8ea61492a 100644
--- a/target/linux/ramips/dts/mt7628an_yuncore_m300.dts
+++ b/target/linux/ramips/dts/mt7628an_yuncore_m300.dts
@@ -8,10 +8,6 @@
 	compatible = "yuncore,m300", "mediatek,mt7628an-soc";
 	model = "Yuncore M300";
 
-	chosen {
-		bootargs = "console=ttyS0,57600";
-	};
-
 	keys {
 		compatible = "gpio-keys";
 




More information about the lede-commits mailing list