Ver Fonte

ipq806x: 5.15: add boot-partitions binding to fix block warning

The patch has changed implementation and now the binding has changed.
Replace the old binding with boot-partitions and reimplement the
definition with the new definition.
The new definition is:
<offset1 size1 offset2 size2 offset3 ...>
and now supports sparsed patch.

Also add missing binding in some dts and add the backup boot partition
to the boot-partitions list.

Signed-off-by: Christian Marangi <[email protected]>
Christian Marangi há 3 anos atrás
pai
commit
6134ba4a34

+ 1 - 1
target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-d7800.dts

@@ -243,7 +243,7 @@
 		nand-ecc-step-size = <512>;
 
 		nand-is-boot-medium;
-		qcom,boot_pages_size = <0x1180000>;
+		qcom,boot-partitions = <0x0 0x1180000>;
 
 		partitions {
 			compatible = "fixed-partitions";

+ 1 - 1
target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-eax500.dtsi

@@ -46,7 +46,7 @@
 		nand-ecc-step-size = <512>;
 
 		nand-is-boot-medium;
-		qcom,boot_pages_size = <0x0c80000>;
+		qcom,boot-partitions = <0x0 0x0c80000>;
 
 		partitions: partitions {
 			compatible = "fixed-partitions";

+ 1 - 1
target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-g10.dts

@@ -238,7 +238,7 @@
 		nand-ecc-step-size = <512>;
 
 		nand-is-boot-medium;
-		qcom,boot_pages_size = <0x1200000>;
+		qcom,boot-partitions = <0x0 0x1200000>;
 
 		partitions {
 			compatible = "qcom,smem-part";

+ 1 - 1
target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-r7500.dts

@@ -176,7 +176,7 @@
 		nand-ecc-step-size = <512>;
 
 		nand-is-boot-medium;
-		qcom,boot_pages_size = <0x1180000>;
+		qcom,boot-partitions = <0x0 0x1180000>;
 
 		partitions {
 			compatible = "fixed-partitions";

+ 1 - 1
target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-r7500v2.dts

@@ -240,7 +240,7 @@
 		nand-ecc-step-size = <512>;
 
 		nand-is-boot-medium;
-		qcom,boot_pages_size = <0x1180000>;
+		qcom,boot-partitions = <0x0 0x1180000>;
 
 		partitions {
 			compatible = "fixed-partitions";

+ 1 - 1
target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts

@@ -119,7 +119,7 @@
 		nand-ecc-step-size = <512>;
 
 		nand-is-boot-medium;
-		qcom,boot_pages_size = <0x1180000>;
+		qcom,boot-partitions = <0x0 0x1180000 0x5340000 0x6400000>;
 
 		partitions {
 			compatible = "fixed-partitions";

+ 1 - 1
target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8065-nighthawk.dtsi

@@ -232,7 +232,7 @@
 		nand-ecc-step-size = <512>;
 
 		nand-is-boot-medium;
-		qcom,boot_pages_size = <0x1180000>;
+		qcom,boot-partitions = <0x0 0x1180000>;
 
 		partitions: partitions {
 			compatible = "fixed-partitions";

+ 2 - 0
target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8065-rt4230w-rev6.dts

@@ -138,6 +138,8 @@
 		nand-bus-width = <8>;
 		nand-ecc-step-size = <512>;
 
+		qcom,boot-partitions = <0x0 0x1180000 0x1340000 0x2400000>;
+
 		partitions {
 			compatible = "fixed-partitions";
 			#address-cells = <1>;

+ 2 - 0
target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8065-tr4400-v2.dts

@@ -127,6 +127,8 @@
 		nand-bus-width = <8>;
 		nand-ecc-step-size = <512>;
 
+		qcom,boot-partitions = <0x0 0x1180000 0x5340000 0x6400000>;
+
 		partitions {
 			compatible = "fixed-partitions";
 			#address-cells = <1>;

+ 1 - 1
target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8068-cryptid-common.dtsi

@@ -150,7 +150,7 @@
 		nand-ecc-step-size = <512>;
 
 		nand-is-boot-medium;
-		qcom,boot_pages_size = <0x2140000>;
+		qcom,boot-partitions = <0x0 0x2140000>;
 
 		partitions {
 			compatible = "fixed-partitions";