[openwrt/openwrt] realtek: rename partitions in Netgear DTSI

LEDE Commits lede-commits at lists.infradead.org
Sat Apr 3 18:17:42 BST 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/1601b39b6197963e85c441a043702e022779f371

commit 1601b39b6197963e85c441a043702e022779f371
Author: Stijn Segers <foss at volatilesystems.org>
AuthorDate: Sun Feb 28 22:50:15 2021 +0100

    realtek: rename partitions in Netgear DTSI
    
    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 at volatilesystems.org>
---
 target/linux/realtek/dts/rtl8380_netgear_gigabit.dtsi | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/target/linux/realtek/dts/rtl8380_netgear_gigabit.dtsi b/target/linux/realtek/dts/rtl8380_netgear_gigabit.dtsi
index 2cda3c15a3..d31eb74001 100644
--- a/target/linux/realtek/dts/rtl8380_netgear_gigabit.dtsi
+++ b/target/linux/realtek/dts/rtl8380_netgear_gigabit.dtsi
@@ -47,31 +47,31 @@
 			#size-cells = <1>;
 
 			partition at 0 {
-				label = "loader";
+				label = "u-boot";
 				reg = <0x0000000 0x00e0000>;
 				read-only;
 			};
 
 			partition at e0000 {
-				label = "bdinfo";
+				label = "u-boot-env";
 				reg = <0x00e0000 0x0010000>;
 				read-only;
 			};
 
 			partition at f0000 {
-				label = "sysinfo";
+				label = "u-boot-env2";
 				reg = <0x00f0000 0x0010000>;
 				read-only;
 			};
 
 			partition at 100000 {
-				label = "jffs2_cfg";
+				label = "jffs";
 				reg = <0x0100000 0x0100000>;
 				read-only;
 			};
 
 			partition at 200000 {
-				label = "jffs2_log";
+				label = "jffs2";
 				reg = <0x0200000 0x0100000>;
 				read-only;
 			};



More information about the lede-commits mailing list