From 21869e8f80c0af3977bb5bffece6986a556cb389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibaut=20VAR=C3=88NE?= Date: Sat, 21 Mar 2020 22:54:53 +0100 Subject: ramips: mikrotik: use routerbootpart partitions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Enable routerbootpart partitions on MikroTik devices. Tested-by: Tobias Schramm Signed-off-by: Thibaut VARĂˆNE --- target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts') diff --git a/target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts b/target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts index bd58aea951..128b8a2816 100644 --- a/target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts +++ b/target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts @@ -95,19 +95,17 @@ label = "RouterBoot"; reg = <0x0 0x40000>; read-only; - compatible = "fixed-partitions"; + compatible = "mikrotik,routerboot-partitions"; #address-cells = <1>; #size-cells = <1>; partition@0 { label = "bootloader1"; - reg = <0x0 0xf000>; + reg = <0x0 0x0>; read-only; }; - hard_config: partition@f000 { - label = "hard_config"; - reg = <0xf000 0x1000>; + hard_config: hard_config { read-only; }; @@ -117,9 +115,7 @@ read-only; }; - partition@20000 { - label = "soft_config"; - reg = <0x20000 0x1000>; + soft_config { }; partition@30000 { -- cgit v1.2.3