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 <george.moussalem@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/21038
Signed-off-by: Robert Marko <robimarko@gmail.com>
model = "Linksys MR5500";
compatible = "linksys,mr5500", "qcom,ipq5018";
+ chosen {
+ bootargs-append = " root=/dev/ubiblock0_0 coherent_pool=2M";
+ stdout-path = "serial0:115200n8";
+ };
+
gpio-leds {
compatible = "gpio-leds";
serial0 = &blsp1_uart1;
};
- chosen {
- bootargs-append = " root=/dev/ubiblock0_0 coherent_pool=2M";
- stdout-path = "serial0:115200n8";
- };
-
keys {
compatible = "gpio-keys";
pinctrl-0 = <&button_pins>;
/ {
model = "Linksys MX2000";
compatible = "linksys,mx2000", "qcom,ipq5018";
+
+ chosen {
+ bootargs-append = " root=/dev/ubiblock0_0 coherent_pool=2M";
+ stdout-path = "serial0:115200n8";
+ };
};
/*
/ {
model = "Linksys MX5500";
compatible = "linksys,mx5500", "qcom,ipq5018";
+
+ chosen {
+ bootargs-append = " root=/dev/ubiblock0_0 coherent_pool=2M";
+ stdout-path = "serial0:115200n8";
+ };
};
/*
/ {
model = "Linksys SPNMX56";
compatible = "linksys,spnmx56", "qcom,ipq5018";
+
+ chosen {
+ bootargs-append = " root=/dev/ubiblock0_0 coherent_pool=2M";
+ stdout-path = "serial0:115200n8";
+ };
};
/*