lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <20230101021936.GG6112@T480> Date: Sun, 1 Jan 2023 10:19:37 +0800 From: Shawn Guo <shawnguo@...nel.org> To: Andrew Lunn <andrew@...n.ch> Cc: Nikolaus Voss <nikolaus.voss@...g-streit.com>, Srinivas Kandagatla <srinivas.kandagatla@...aro.org>, Sascha Hauer <s.hauer@...gutronix.de>, Pengutronix Kernel Team <kernel@...gutronix.de>, Fabio Estevam <festevam@...il.com>, NXP Linux Team <linux-imx@....com>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>, Rob Herring <robh+dt@...nel.org>, nv@...n.de, linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org, devicetree@...r.kernel.org Subject: Re: [PATCH 2/2] imx6qdl.dtsi: use MAC-address from nvmem On Sat, Dec 31, 2022 at 06:08:41PM +0100, Andrew Lunn wrote: > > > @@ -1053,6 +1053,8 @@ fec: ethernet@...8000 { > > > <&clks IMX6QDL_CLK_ENET_REF>; > > > clock-names = "ipg", "ahb", "ptp", "enet_out"; > > > fsl,stop-mode = <&gpr 0x34 27>; > > > + nvmem-cells = <&fec_mac_addr>; > > > + nvmem-cell-names = "mac-address"; > > > > May I ask where is the support of FEC driver for this? > > The fec uses of_get_mac_address() which calls > of_get_mac_address_nvmem() as its last place to look for the MAC > address. Ah, of_get_mac_address() gets extended to call of_get_mac_address_nvmem() nowadays. Thanks, Andrew! Shawn
Powered by blists - more mailing lists