You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Christian Lamparter 5ae45dc7b3 ipq40xx: GL-B1300: convert to new partitions layout
Alberto Bursi reported:
>The patch "ipq40xx: specify "firmware" partition format for GL.iNet GL-B1300"
>prevents boot on my B1300. I compiled from latest sources.

The GL-B1300 was using the discouraged direct subnodes method to declare
the partitions on the flash.

|The partition table should be a subnode of the flash node and should be named
|'partitions'. This node should have the following property:
|- compatible : (required) must be "fixed-partitions"
|Partitions are then defined in subnodes of the partitions node.
|
|For backwards compatibility partitions as direct subnodes of the flash device are
|supported. This use is discouraged.
|NOTE: also for backwards compatibility, direct subnodes that have a compatible
|string are not considered partitions, as they may be used for other bindings.
<https://www.kernel.org/doc/Documentation/devicetree/bindings/mtd/partition.txt>

Hence, this patch converts the device to the "partitions" layout.

Fixes: 1cbe457cf9 ("ipq40xx: specify "firmware" partition format for GL.iNet GL-B1300")
Reported-by: Alberto Bursi <bobafetthotmail@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
6 years ago
..
qcom-ipq4018-a42.dts ipq40xx: device-tree overhaul 6 years ago
qcom-ipq4018-eap1300.dts ipq40xx: device-tree overhaul 6 years ago
qcom-ipq4018-ex61x0v2.dtsi ipq40xx: device-tree overhaul 6 years ago
qcom-ipq4018-ex6100v2.dts ipq40xx: add support for Netgear EX6100v2/EX6150v2 6 years ago
qcom-ipq4018-ex6150v2.dts ipq40xx: add support for Netgear EX6100v2/EX6150v2 6 years ago
qcom-ipq4018-fritz4040.dts ipq40xx: device-tree overhaul 6 years ago
qcom-ipq4018-jalapeno.dts ipq40xx: device-tree overhaul 6 years ago
qcom-ipq4018-nbg6617.dts ipq40xx: device-tree overhaul 6 years ago
qcom-ipq4018-rt-ac58u.dts ipq40xx: device-tree overhaul 6 years ago
qcom-ipq4018-wre6606.dts ipq40xx: device-tree overhaul 6 years ago
qcom-ipq4019-a62.dts ipq40xx: device-tree overhaul 6 years ago
qcom-ipq4019-ap.dk04.1-c1.dts ipq40xx: add target 6 years ago
qcom-ipq4019-ap.dk04.1.dtsi ipq40xx: use patches that were sent upstream 6 years ago
qcom-ipq4028-wpj428.dts treewide: dts: Remove default-state=off property from all gpio LED nodes 6 years ago
qcom-ipq4029-gl-b1300.dts ipq40xx: GL-B1300: convert to new partitions layout 6 years ago
qcom-ipq4029-mr33.dts ipq40xx: device-tree overhaul 6 years ago