ramips: mikrotik: use routerbootpart partitions

Enable routerbootpart partitions on MikroTik devices.

Tested-by: Tobias Schramm <t.schramm@manjaro.org>
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
master
Thibaut VARÈNE 4 years ago committed by Koen Vandeputte
parent 274221a836
commit 21869e8f80

@ -87,19 +87,17 @@
label = "RouterBoot"; label = "RouterBoot";
reg = <0x0 0x40000>; reg = <0x0 0x40000>;
read-only; read-only;
compatible = "fixed-partitions"; compatible = "mikrotik,routerboot-partitions";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partition@0 {
label = "bootloader1"; label = "bootloader1";
reg = <0x0 0xf000>; reg = <0x0 0x0>;
read-only; read-only;
}; };
hard_config: partition@f000 { hard_config: hard_config {
label = "hard_config";
reg = <0xf000 0x1000>;
read-only; read-only;
}; };
@ -109,9 +107,7 @@
read-only; read-only;
}; };
partition@20000 { soft_config {
label = "soft_config";
reg = <0x20000 0x1000>;
}; };
partition@30000 { partition@30000 {

@ -95,19 +95,17 @@
label = "RouterBoot"; label = "RouterBoot";
reg = <0x0 0x40000>; reg = <0x0 0x40000>;
read-only; read-only;
compatible = "fixed-partitions"; compatible = "mikrotik,routerboot-partitions";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partition@0 {
label = "bootloader1"; label = "bootloader1";
reg = <0x0 0xf000>; reg = <0x0 0x0>;
read-only; read-only;
}; };
hard_config: partition@f000 { hard_config: hard_config {
label = "hard_config";
reg = <0xf000 0x1000>;
read-only; read-only;
}; };
@ -117,9 +115,7 @@
read-only; read-only;
}; };
partition@20000 { soft_config {
label = "soft_config";
reg = <0x20000 0x1000>;
}; };
partition@30000 { partition@30000 {

@ -104,19 +104,17 @@
label = "RouterBoot"; label = "RouterBoot";
reg = <0x0 0x40000>; reg = <0x0 0x40000>;
read-only; read-only;
compatible = "fixed-partitions"; compatible = "mikrotik,routerboot-partitions";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partition@0 {
label = "bootloader1"; label = "bootloader1";
reg = <0x0 0xf000>; reg = <0x0 0x0>;
read-only; read-only;
}; };
hard_config: partition@f000 { hard_config: hard_config {
label = "hard_config";
reg = <0xf000 0x1000>;
read-only; read-only;
}; };
@ -126,9 +124,7 @@
read-only; read-only;
}; };
partition@20000 { soft_config {
label = "soft_config";
reg = <0x20000 0x1000>;
}; };
partition@30000 { partition@30000 {

Loading…
Cancel
Save