Selaa lähdekoodia

oxnas: unify MTD partition names

Use 'u-boot' and 'u-boot-env' like the majority of OpenWrt targets
does...

Signed-off-by: Daniel Golle <[email protected]>
Daniel Golle 6 vuotta sitten
vanhempi
sitoutus
858aebc0ef

+ 2 - 2
target/linux/oxnas/files/arch/arm/boot/dts/ox820-cloudengines-pogoplug-pro.dts

@@ -80,13 +80,13 @@
 		};
 
 		partition@40000 {
-			label = "uboot";
+			label = "u-boot";
 			reg = <0x00040000 0x00380000>;
 			read-only;
 		};
 
 		partition@3c0000 {
-			label = "uboot_env";
+			label = "u-boot-env";
 			reg = <0x003c0000 0x00080000>;
 		};
 

+ 2 - 2
target/linux/oxnas/files/arch/arm/boot/dts/ox820-mitrastar-stg212.dts

@@ -93,13 +93,13 @@
 		};
 
 		partition@40000 {
-			label = "uboot";
+			label = "u-boot";
 			reg = <0x00040000 0x00380000>;
 			read-only;
 		};
 
 		partition@3c0000 {
-			label = "uboot_env";
+			label = "u-boot-env";
 			reg = <0x003c0000 0x00080000>;
 		};
 

+ 7 - 2
target/linux/oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts

@@ -144,11 +144,16 @@
 		};
 
 		partition@40000 {
-			label = "u-boot";
-			reg = <0x00040000 0x00200000>;
+			label = "uboot";
+			reg = <0x00040000 0x001e0000>;
 			read-only;
 		};
 
+		partition@220000 {
+			label = "uboot_env";
+			reg = <0x00220000 0x00020000>;
+		};
+
 		partition@240000 {
 			label = "initrd";
 			reg = <0x00240000 0x00600000>;

+ 2 - 2
target/linux/oxnas/patches-4.14/020-nand-partitions-on-pogoplug-v3.patch

@@ -12,13 +12,13 @@
  		};
  
 +		partition@40000 {
-+			label = "uboot";
++			label = "u-boot";
 +			reg = <0x00040000 0x00380000>;
 +			read-only;
 +		};
 +
 +		partition@3c0000 {
-+			label = "uboot_env";
++			label = "u-boot-env";
 +			reg = <0x003c0000 0x00080000>;
 +		};
 +