realtek: rename partitions in Netgear DTSI
authorStijn Segers <foss@volatilesystems.org>
Sun, 28 Feb 2021 21:50:15 +0000 (22:50 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 18 Apr 2021 10:06:53 +0000 (12:06 +0200)
Switch the Netgear DTSI for the Realtek target from the OEM partition
naming scheme to accepted OpenWrt naming practices. A quick git grep for
'u-boot-env' e.g. in the OpenWrt tree turns up almost 500 hits whereas
grepping for 'bdinfo' (the OEM equivalent) returns a meagre 14.

Signed-off-by: Stijn Segers <foss@volatilesystems.org>
(cherry picked from commit 1601b39b6197963e85c441a043702e022779f371)

target/linux/realtek/dts/rtl8380_netgear_gigabit.dtsi

index 2cda3c15a34f1f342e4e755c8ada5f4ff4741ce7..d31eb7400145808fb62c43f2103d3a2124712734 100644 (file)
                        #size-cells = <1>;
 
                        partition@0 {
-                               label = "loader";
+                               label = "u-boot";
                                reg = <0x0000000 0x00e0000>;
                                read-only;
                        };
 
                        partition@e0000 {
-                               label = "bdinfo";
+                               label = "u-boot-env";
                                reg = <0x00e0000 0x0010000>;
                                read-only;
                        };
 
                        partition@f0000 {
-                               label = "sysinfo";
+                               label = "u-boot-env2";
                                reg = <0x00f0000 0x0010000>;
                                read-only;
                        };
 
                        partition@100000 {
-                               label = "jffs2_cfg";
+                               label = "jffs";
                                reg = <0x0100000 0x0100000>;
                                read-only;
                        };
 
                        partition@200000 {
-                               label = "jffs2_log";
+                               label = "jffs2";
                                reg = <0x0200000 0x0100000>;
                                read-only;
                        };