From d284e6ef0f06551bad5696f16f26e6ff27b065d4 Mon Sep 17 00:00:00 2001 From: Ansuel Smith Date: Mon, 12 Jul 2021 21:42:41 +0200 Subject: treewide: convert mtd-mac-address-increment* to generic implementation Rework patch 681-NET-add-mtd-mac-address-support to implement only the function to read the mac-address from mtd. Generalize mtd-mac-address-increment function so it can be applied to any source of of_get_mac_address. Rename any mtd-mac-address-increment to mac-address-increment. Rename any mtd-mac-address-increment-byte to mac-address-increment-byte. This should make simplify the conversion of target to nvmem implementation. Signed-off-by: Ansuel Smith --- target/linux/ath79/dts/ar9344_pcs_cap324.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/linux/ath79/dts/ar9344_pcs_cap324.dts') diff --git a/target/linux/ath79/dts/ar9344_pcs_cap324.dts b/target/linux/ath79/dts/ar9344_pcs_cap324.dts index 3ce8bb58fc..4125a40269 100644 --- a/target/linux/ath79/dts/ar9344_pcs_cap324.dts +++ b/target/linux/ath79/dts/ar9344_pcs_cap324.dts @@ -119,7 +119,7 @@ compatible = "168c,0030"; reg = <0x0000 0 0 0 0>; mtd-mac-address = <&art 0x0>; - mtd-mac-address-increment = <(-2)>; + mac-address-increment = <(-2)>; mtd-cal-data = <&art 0x5000>; qca,no-eeprom; qca,disable-5ghz; @@ -134,7 +134,7 @@ qca,disable-2ghz; mtd-cal-data = <&art 0x1000>; mtd-mac-address = <&art 0x0>; - mtd-mac-address-increment = <(-1)>; + mac-address-increment = <(-1)>; }; &mdio0 { -- cgit v1.2.3