ipq806x: 5.15: add boot-partitions binding to fix block warning
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 16 Jun 2022 20:32:35 +0000 (22:32 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 10 Oct 2022 08:47:44 +0000 (10:47 +0200)
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 <ansuelsmth@gmail.com>
target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-d7800.dts
target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-eax500.dtsi
target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-g10.dts
target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-r7500.dts
target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-r7500v2.dts
target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts
target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8065-nighthawk.dtsi
target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8065-rt4230w-rev6.dts
target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8065-tr4400-v2.dts
target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8068-cryptid-common.dtsi

index f9f9c035d34c4d4a4a100ef124bb9962df617b97..719b9c86c56471e0868b5c660d8cdad5dd767675 100644 (file)
                nand-ecc-step-size = <512>;
 
                nand-is-boot-medium;
-               qcom,boot_pages_size = <0x1180000>;
+               qcom,boot-partitions = <0x0 0x1180000>;
 
                partitions {
                        compatible = "fixed-partitions";
index 68e5b2470468692a5f818cb39299f1dcbbb72254..b9b296094b9bd1415658e4d43b3f9ea4d1bc0d91 100644 (file)
@@ -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";
index ba27d89c05281f83e1c6dfcb38b022201814995a..75b02a00d09966fe614a66c603f95a87a3808981 100644 (file)
                nand-ecc-step-size = <512>;
 
                nand-is-boot-medium;
-               qcom,boot_pages_size = <0x1200000>;
+               qcom,boot-partitions = <0x0 0x1200000>;
 
                partitions {
                        compatible = "qcom,smem-part";
index 1505e23f38707082c76e640cd2be43625121340c..aa783e7ee65108425f3558aebbf67aad94f14907 100644 (file)
                nand-ecc-step-size = <512>;
 
                nand-is-boot-medium;
-               qcom,boot_pages_size = <0x1180000>;
+               qcom,boot-partitions = <0x0 0x1180000>;
 
                partitions {
                        compatible = "fixed-partitions";
index b43ee90034f3f30a489017861666a200c9fc0e7a..23a32697e14abdc90bfff4bab7ba4ef38f716243 100644 (file)
                nand-ecc-step-size = <512>;
 
                nand-is-boot-medium;
-               qcom,boot_pages_size = <0x1180000>;
+               qcom,boot-partitions = <0x0 0x1180000>;
 
                partitions {
                        compatible = "fixed-partitions";
index d7f3a7f88146ab2fe01d27b6677b5f98c405ca83..983a4243db963c0954309fca0cee84418a0e3857 100644 (file)
                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";
index 6c007e2c16b75596ca93adcd75ce1a010cca2c66..420b5401326338b912df663e06b44dd13d18b361 100644 (file)
                nand-ecc-step-size = <512>;
 
                nand-is-boot-medium;
-               qcom,boot_pages_size = <0x1180000>;
+               qcom,boot-partitions = <0x0 0x1180000>;
 
                partitions: partitions {
                        compatible = "fixed-partitions";
index 51ef2c33210a4594870df84b6fcee09367a348f6..902f7d60985d6b830713c162f78ba7276b24b011 100644 (file)
                nand-bus-width = <8>;
                nand-ecc-step-size = <512>;
 
+               qcom,boot-partitions = <0x0 0x1180000 0x1340000 0x2400000>;
+
                partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
index 924463913737423629e85964ccfa5f7d9e73e5ea..db9bab18ddea783f94fb44046d1b7ea0e06f99ca 100644 (file)
                nand-bus-width = <8>;
                nand-ecc-step-size = <512>;
 
+               qcom,boot-partitions = <0x0 0x1180000 0x5340000 0x6400000>;
+
                partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
index 93b9aa86f7e605c84d4945dac8bcdf414456e0b1..a8f43591f90535ace8d920ad7eb83da70683bc73 100644 (file)
                nand-ecc-step-size = <512>;
 
                nand-is-boot-medium;
-               qcom,boot_pages_size = <0x2140000>;
+               qcom,boot-partitions = <0x0 0x2140000>;
 
                partitions {
                        compatible = "fixed-partitions";