Skip to content

Commit 606a87e

Browse files
georgemoussalemrobimarko
authored andcommitted
qualcommax: ipq50xx: move bootargs to Linksys board files
Move setting kernel bootargs from the base template down to the respective Linksys board files. This allows for having devices which require different bootargs use the base template device tree file. Signed-off-by: George Moussalem <[email protected]> Link: openwrt/openwrt#21038 Signed-off-by: Robert Marko <[email protected]>
1 parent 597a2d7 commit 606a87e

File tree

5 files changed

+20
-5
lines changed

5 files changed

+20
-5
lines changed

target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mr5500.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
model = "Linksys MR5500";
88
compatible = "linksys,mr5500", "qcom,ipq5018";
99

10+
chosen {
11+
bootargs-append = " root=/dev/ubiblock0_0 coherent_pool=2M";
12+
stdout-path = "serial0:115200n8";
13+
};
14+
1015
gpio-leds {
1116
compatible = "gpio-leds";
1217

target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mx-base.dtsi

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@
1515
serial0 = &blsp1_uart1;
1616
};
1717

18-
chosen {
19-
bootargs-append = " root=/dev/ubiblock0_0 coherent_pool=2M";
20-
stdout-path = "serial0:115200n8";
21-
};
22-
2318
keys {
2419
compatible = "gpio-keys";
2520
pinctrl-0 = <&button_pins>;

target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mx2000.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
/ {
88
model = "Linksys MX2000";
99
compatible = "linksys,mx2000", "qcom,ipq5018";
10+
11+
chosen {
12+
bootargs-append = " root=/dev/ubiblock0_0 coherent_pool=2M";
13+
stdout-path = "serial0:115200n8";
14+
};
1015
};
1116

1217
/*

target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mx5500.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
/ {
77
model = "Linksys MX5500";
88
compatible = "linksys,mx5500", "qcom,ipq5018";
9+
10+
chosen {
11+
bootargs-append = " root=/dev/ubiblock0_0 coherent_pool=2M";
12+
stdout-path = "serial0:115200n8";
13+
};
914
};
1015

1116
/*

target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-spnmx56.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
/ {
77
model = "Linksys SPNMX56";
88
compatible = "linksys,spnmx56", "qcom,ipq5018";
9+
10+
chosen {
11+
bootargs-append = " root=/dev/ubiblock0_0 coherent_pool=2M";
12+
stdout-path = "serial0:115200n8";
13+
};
914
};
1015

1116
/*

0 commit comments

Comments
 (0)