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 <ansuelsmth@gmail.com>
This commit is contained in:
		| @@ -243,7 +243,7 @@ | |||||||
| 		nand-ecc-step-size = <512>; | 		nand-ecc-step-size = <512>; | ||||||
|  |  | ||||||
| 		nand-is-boot-medium; | 		nand-is-boot-medium; | ||||||
| 		qcom,boot_pages_size = <0x1180000>; | 		qcom,boot-partitions = <0x0 0x1180000>; | ||||||
|  |  | ||||||
| 		partitions { | 		partitions { | ||||||
| 			compatible = "fixed-partitions"; | 			compatible = "fixed-partitions"; | ||||||
|   | |||||||
| @@ -46,7 +46,7 @@ | |||||||
| 		nand-ecc-step-size = <512>; | 		nand-ecc-step-size = <512>; | ||||||
|  |  | ||||||
| 		nand-is-boot-medium; | 		nand-is-boot-medium; | ||||||
| 		qcom,boot_pages_size = <0x0c80000>; | 		qcom,boot-partitions = <0x0 0x0c80000>; | ||||||
|  |  | ||||||
| 		partitions: partitions { | 		partitions: partitions { | ||||||
| 			compatible = "fixed-partitions"; | 			compatible = "fixed-partitions"; | ||||||
|   | |||||||
| @@ -238,7 +238,7 @@ | |||||||
| 		nand-ecc-step-size = <512>; | 		nand-ecc-step-size = <512>; | ||||||
|  |  | ||||||
| 		nand-is-boot-medium; | 		nand-is-boot-medium; | ||||||
| 		qcom,boot_pages_size = <0x1200000>; | 		qcom,boot-partitions = <0x0 0x1200000>; | ||||||
|  |  | ||||||
| 		partitions { | 		partitions { | ||||||
| 			compatible = "qcom,smem-part"; | 			compatible = "qcom,smem-part"; | ||||||
|   | |||||||
| @@ -176,7 +176,7 @@ | |||||||
| 		nand-ecc-step-size = <512>; | 		nand-ecc-step-size = <512>; | ||||||
|  |  | ||||||
| 		nand-is-boot-medium; | 		nand-is-boot-medium; | ||||||
| 		qcom,boot_pages_size = <0x1180000>; | 		qcom,boot-partitions = <0x0 0x1180000>; | ||||||
|  |  | ||||||
| 		partitions { | 		partitions { | ||||||
| 			compatible = "fixed-partitions"; | 			compatible = "fixed-partitions"; | ||||||
|   | |||||||
| @@ -240,7 +240,7 @@ | |||||||
| 		nand-ecc-step-size = <512>; | 		nand-ecc-step-size = <512>; | ||||||
|  |  | ||||||
| 		nand-is-boot-medium; | 		nand-is-boot-medium; | ||||||
| 		qcom,boot_pages_size = <0x1180000>; | 		qcom,boot-partitions = <0x0 0x1180000>; | ||||||
|  |  | ||||||
| 		partitions { | 		partitions { | ||||||
| 			compatible = "fixed-partitions"; | 			compatible = "fixed-partitions"; | ||||||
|   | |||||||
| @@ -119,7 +119,7 @@ | |||||||
| 		nand-ecc-step-size = <512>; | 		nand-ecc-step-size = <512>; | ||||||
|  |  | ||||||
| 		nand-is-boot-medium; | 		nand-is-boot-medium; | ||||||
| 		qcom,boot_pages_size = <0x1180000>; | 		qcom,boot-partitions = <0x0 0x1180000 0x5340000 0x6400000>; | ||||||
|  |  | ||||||
| 		partitions { | 		partitions { | ||||||
| 			compatible = "fixed-partitions"; | 			compatible = "fixed-partitions"; | ||||||
|   | |||||||
| @@ -232,7 +232,7 @@ | |||||||
| 		nand-ecc-step-size = <512>; | 		nand-ecc-step-size = <512>; | ||||||
|  |  | ||||||
| 		nand-is-boot-medium; | 		nand-is-boot-medium; | ||||||
| 		qcom,boot_pages_size = <0x1180000>; | 		qcom,boot-partitions = <0x0 0x1180000>; | ||||||
|  |  | ||||||
| 		partitions: partitions { | 		partitions: partitions { | ||||||
| 			compatible = "fixed-partitions"; | 			compatible = "fixed-partitions"; | ||||||
|   | |||||||
| @@ -138,6 +138,8 @@ | |||||||
| 		nand-bus-width = <8>; | 		nand-bus-width = <8>; | ||||||
| 		nand-ecc-step-size = <512>; | 		nand-ecc-step-size = <512>; | ||||||
|  |  | ||||||
|  | 		qcom,boot-partitions = <0x0 0x1180000 0x1340000 0x2400000>; | ||||||
|  |  | ||||||
| 		partitions { | 		partitions { | ||||||
| 			compatible = "fixed-partitions"; | 			compatible = "fixed-partitions"; | ||||||
| 			#address-cells = <1>; | 			#address-cells = <1>; | ||||||
|   | |||||||
| @@ -127,6 +127,8 @@ | |||||||
| 		nand-bus-width = <8>; | 		nand-bus-width = <8>; | ||||||
| 		nand-ecc-step-size = <512>; | 		nand-ecc-step-size = <512>; | ||||||
|  |  | ||||||
|  | 		qcom,boot-partitions = <0x0 0x1180000 0x5340000 0x6400000>; | ||||||
|  |  | ||||||
| 		partitions { | 		partitions { | ||||||
| 			compatible = "fixed-partitions"; | 			compatible = "fixed-partitions"; | ||||||
| 			#address-cells = <1>; | 			#address-cells = <1>; | ||||||
|   | |||||||
| @@ -150,7 +150,7 @@ | |||||||
| 		nand-ecc-step-size = <512>; | 		nand-ecc-step-size = <512>; | ||||||
|  |  | ||||||
| 		nand-is-boot-medium; | 		nand-is-boot-medium; | ||||||
| 		qcom,boot_pages_size = <0x2140000>; | 		qcom,boot-partitions = <0x0 0x2140000>; | ||||||
|  |  | ||||||
| 		partitions { | 		partitions { | ||||||
| 			compatible = "fixed-partitions"; | 			compatible = "fixed-partitions"; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Christian Marangi
					Christian Marangi