diff options
author | Ansuel Smith <ansuelsmth@gmail.com> | 2021-07-12 21:42:41 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2021-07-19 14:51:22 +0200 |
commit | d284e6ef0f06551bad5696f16f26e6ff27b065d4 (patch) | |
tree | 49720a51bc62207ca574a6933200e9e46287738e /target/linux/ipq806x | |
parent | 985954ccbd11ba716dc0569c5101583a4a74b215 (diff) | |
download | upstream-d284e6ef0f06551bad5696f16f26e6ff27b065d4.tar.gz upstream-d284e6ef0f06551bad5696f16f26e6ff27b065d4.tar.bz2 upstream-d284e6ef0f06551bad5696f16f26e6ff27b065d4.zip |
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 <ansuelsmth@gmail.com>
Diffstat (limited to 'target/linux/ipq806x')
3 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ad7200-c2600.dtsi b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ad7200-c2600.dtsi index af0efb2565..bbecdb7f0c 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ad7200-c2600.dtsi +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ad7200-c2600.dtsi @@ -289,7 +289,7 @@ pinctrl-names = "default"; mtd-mac-address = <&defaultmac 0x8>; - mtd-mac-address-increment = <1>; + mac-address-increment = <1>; fixed-link { speed = <1000>; diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts index 893addf240..79b22ff0c3 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts @@ -324,7 +324,7 @@ pinctrl-names = "default"; mtd-mac-address = <&defaultmac 0>; - mtd-mac-address-increment = <1>; + mac-address-increment = <1>; fixed-link { speed = <1000>; diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-r7800.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-r7800.dts index 55291cd531..9444235173 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-r7800.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-r7800.dts @@ -426,7 +426,7 @@ reg = <0x00010000 0 0 0 0>; mtd-mac-address = <&art 6>; - mtd-mac-address-increment = <(1)>; + mac-address-increment = <(1)>; }; }; }; @@ -446,7 +446,7 @@ reg = <0x00010000 0 0 0 0>; mtd-mac-address = <&art 6>; - mtd-mac-address-increment = <(2)>; + mac-address-increment = <(2)>; }; }; }; |