]> git.ipfire.org Git - thirdparty/u-boot.git/commit
net: mvpp2: Use dev_read_addr_index_ptr()
authorPeng Fan <peng.fan@nxp.com>
Thu, 28 May 2026 08:00:23 +0000 (16:00 +0800)
committerJerome Forissier <jerome.forissier@arm.com>
Wed, 3 Jun 2026 14:55:55 +0000 (16:55 +0200)
commitf603d10d72bf6a341b2af238693f17e671e4bc07
treee9f2a0acc33684fd764acd89e5a42b9c0240b5d3
parent23532fcb7d080eb19c87b3a1e8f459560792a042
net: mvpp2: Use dev_read_addr_index_ptr()

Use dev_read_addr_index_ptr() which supports both live device tree and
flat DT backends, avoiding direct dependency on devfdt_* helpers.

No functional changes.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/net/mvpp2.c