[openwrt/openwrt] realtek: Consolidate bootargs
LEDE Commits
lede-commits at lists.infradead.org
Wed Nov 24 12:20:22 PST 2021
stintel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/af2cfbda2bf544666b30b2730e9486b2d6eff76f
commit af2cfbda2bf544666b30b2730e9486b2d6eff76f
Author: Sander Vanheule <sander at svanheule.net>
AuthorDate: Sun Nov 14 19:45:30 2021 +0100
realtek: Consolidate bootargs
All current devices use identical bootargs, so let's move that to the
common devicetree includes.
Signed-off-by: Sander Vanheule <sander at svanheule.net>
Tested-by: Stijn Segers <foss at volatilesystems.org>
Tested-by: Paul Fertser <fercerpav at gmail.com>
Tested-by: Stijn Tintel <stijn at linux-ipv6.be>
---
target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi | 4 ----
target/linux/realtek/dts-5.10/rtl8380_zyxel_gs1900.dtsi | 4 ----
target/linux/realtek/dts-5.10/rtl8382_allnet_all-sg8208m.dts | 4 ----
target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210-10p.dts | 4 ----
target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210.dtsi | 4 ----
target/linux/realtek/dts-5.10/rtl8382_inaba_aml2-17gp.dts | 4 ----
target/linux/realtek/dts-5.10/rtl838x.dtsi | 2 +-
target/linux/realtek/dts-5.10/rtl930x.dtsi | 2 +-
8 files changed, 2 insertions(+), 26 deletions(-)
diff --git a/target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi b/target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi
index e98a9bfc61..6eb316231b 100644
--- a/target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi
+++ b/target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit.dtsi
@@ -8,10 +8,6 @@
/ {
compatible = "realtek,rtl838x-soc";
- chosen {
- bootargs = "console=ttyS0,115200";
- };
-
memory at 0 {
device_type = "memory";
reg = <0x0 0x8000000>;
diff --git a/target/linux/realtek/dts-5.10/rtl8380_zyxel_gs1900.dtsi b/target/linux/realtek/dts-5.10/rtl8380_zyxel_gs1900.dtsi
index 7233f6086c..7095006454 100644
--- a/target/linux/realtek/dts-5.10/rtl8380_zyxel_gs1900.dtsi
+++ b/target/linux/realtek/dts-5.10/rtl8380_zyxel_gs1900.dtsi
@@ -13,10 +13,6 @@
led-upgrade = &led_sys;
};
- chosen {
- bootargs = "console=ttyS0,115200";
- };
-
memory at 0 {
device_type = "memory";
reg = <0x0 0x8000000>;
diff --git a/target/linux/realtek/dts-5.10/rtl8382_allnet_all-sg8208m.dts b/target/linux/realtek/dts-5.10/rtl8382_allnet_all-sg8208m.dts
index f4ca1686dd..320cb08ac7 100644
--- a/target/linux/realtek/dts-5.10/rtl8382_allnet_all-sg8208m.dts
+++ b/target/linux/realtek/dts-5.10/rtl8382_allnet_all-sg8208m.dts
@@ -16,10 +16,6 @@
led-upgrade = &led_sys;
};
- chosen {
- bootargs = "console=ttyS0,115200";
- };
-
memory at 0 {
device_type = "memory";
reg = <0x0 0x8000000>;
diff --git a/target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210-10p.dts b/target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210-10p.dts
index 119eaadc16..a0f377c4f4 100644
--- a/target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210-10p.dts
+++ b/target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210-10p.dts
@@ -16,10 +16,6 @@
led-upgrade = &led_power;
};
- chosen {
- bootargs = "console=ttyS0,115200";
- };
-
memory at 0 {
device_type = "memory";
reg = <0x0 0x8000000>;
diff --git a/target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210.dtsi b/target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210.dtsi
index a4811dbf30..312a36c1a8 100644
--- a/target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210.dtsi
+++ b/target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210.dtsi
@@ -13,10 +13,6 @@
led-upgrade = &led_power;
};
- chosen {
- bootargs = "console=ttyS0,115200";
- };
-
memory at 0 {
device_type = "memory";
reg = <0x0 0x8000000>;
diff --git a/target/linux/realtek/dts-5.10/rtl8382_inaba_aml2-17gp.dts b/target/linux/realtek/dts-5.10/rtl8382_inaba_aml2-17gp.dts
index 1dc9e272fe..30960afff4 100644
--- a/target/linux/realtek/dts-5.10/rtl8382_inaba_aml2-17gp.dts
+++ b/target/linux/realtek/dts-5.10/rtl8382_inaba_aml2-17gp.dts
@@ -9,10 +9,6 @@
compatible = "inaba,aml2-17gp", "realtek,rtl838x-soc";
model = "INABA Abaniact AML2-17GP";
- chosen {
- bootargs = "console=ttyS0,115200";
- };
-
memory at 0 {
device_type = "memory";
reg = <0x0 0x8000000>;
diff --git a/target/linux/realtek/dts-5.10/rtl838x.dtsi b/target/linux/realtek/dts-5.10/rtl838x.dtsi
index a72addcf36..a33b6d899e 100644
--- a/target/linux/realtek/dts-5.10/rtl838x.dtsi
+++ b/target/linux/realtek/dts-5.10/rtl838x.dtsi
@@ -65,7 +65,7 @@
};
chosen {
- bootargs = "console=ttyS0,38400";
+ bootargs = "console=ttyS0,115200";
};
cpuintc: cpuintc {
diff --git a/target/linux/realtek/dts-5.10/rtl930x.dtsi b/target/linux/realtek/dts-5.10/rtl930x.dtsi
index e78e9ebeb8..e53f506a95 100644
--- a/target/linux/realtek/dts-5.10/rtl930x.dtsi
+++ b/target/linux/realtek/dts-5.10/rtl930x.dtsi
@@ -70,7 +70,7 @@
};
chosen {
- bootargs = "console=ttyS0,38400";
+ bootargs = "console=ttyS0,115200";
};
cpuintc: cpuintc {
More information about the lede-commits
mailing list