ipq40xx: utilize nvmem-cells for openmesh,a62
authorSven Eckelmann <[email protected]>
Tue, 25 Oct 2022 07:12:16 +0000 (09:12 +0200)
committerHauke Mehrtens <[email protected]>
Sat, 12 Nov 2022 17:15:55 +0000 (18:15 +0100)
commit087a8e39be56866804b09574b0d63fff7c667ad1
treeb3acafec6dcf773fccbd19b4c4e7d4ef30d7ccad
parent2b2f14c959ad883e3859d957f5f8571e9c2ef547
ipq40xx: utilize nvmem-cells for openmesh,a62

The calibration data and mac addresses on this device are stored in the
0:ART partition. It is therefore possible to move the code to handle them
directly to the devicetree instead of the various scripts.

But the actual relevant information about the partition layout is provided
by the bootloader via bootargs (mtdparts) and not via the devicetree
itself. Instead of using a fixed-partition template, the mtd dynamic
partitions support from the upstream kernel is used.

Reported-by: Robert Marko <[email protected]>
Reviewed-by: Robert Marko <[email protected]>
Tested-by: MichaĆ«l BILCOT <[email protected]>
Signed-off-by: Sven Eckelmann <[email protected]>
target/linux/ipq40xx/base-files/etc/board.d/02_network
target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
target/linux/ipq40xx/base-files/lib/preinit/05_set_iface_mac_ipq40xx.sh
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-a62.dts