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

LEDE Commits lede-commits at lists.infradead.org
Sun Apr 18 13:15:44 BST 2021


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/41a8bea72eb0503d2ded258761bc6334fee4a1c1

commit 41a8bea72eb0503d2ded258761bc6334fee4a1c1
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>
    (cherry picked from commit 1601b39b6197963e85c441a043702e022779f371)
---
 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