From 087a8e39be56866804b09574b0d63fff7c667ad1 Mon Sep 17 00:00:00 2001 From: Sven Eckelmann Date: Tue, 25 Oct 2022 09:12:16 +0200 Subject: ipq40xx: utilize nvmem-cells for openmesh,a62 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Robert Marko Tested-by: Michaƫl BILCOT Signed-off-by: Sven Eckelmann --- target/linux/ipq40xx/base-files/etc/board.d/02_network | 3 --- 1 file changed, 3 deletions(-) (limited to 'target/linux/ipq40xx/base-files/etc/board.d') diff --git a/target/linux/ipq40xx/base-files/etc/board.d/02_network b/target/linux/ipq40xx/base-files/etc/board.d/02_network index 46e6a3f9bd..e682a0fb15 100644 --- a/target/linux/ipq40xx/base-files/etc/board.d/02_network +++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network @@ -163,9 +163,6 @@ ipq40xx_setup_macs() pakedge,wr-1) wan_mac=$(macaddr_add $(get_mac_label) 1) ;; - openmesh,a62) - label_mac="$(mtd_get_mac_binary "0:ART" 0x0)" - ;; esac [ -n "$lan_mac" ] && ucidef_set_interface_macaddr "lan" $lan_mac -- cgit v1.2.3