]> git.ipfire.org Git - thirdparty/u-boot.git/commit - drivers/net/fsl-mc/mc.c
drivers: net: fsl-mc: Include MAC addr fixup to DPL
authorBogdan Purcareata <bogdan.purcareata@nxp.com>
Wed, 24 May 2017 16:40:22 +0000 (16:40 +0000)
committerYork Sun <york.sun@nxp.com>
Fri, 2 Jun 2017 02:56:24 +0000 (19:56 -0700)
commit1161dbcc0a36ef9629ec090fdeeaf964e6682c41
treea4469aea6ac8cddf9c8df4b527c47efbde0f5676
parent33a8991a877847e39bc6b525f65664be026ba45b
drivers: net: fsl-mc: Include MAC addr fixup to DPL

Previous to MC v10.x, port mac address was specified via DPL. Since
newer MC versions are compatible with old style DPLs, make the u-boot
env mac addresses visible there. This applies only to DPLs that have
an older version.

DPLs use 32 bit values for specifying MAC addresses. U-boot
environment variables take precedence over the MAC addresses already
visible in the DPL/DPC.

Signed-off-by: Bogdan Purcareata <bogdan.purcareata@nxp.com>
Signed-off-by: Heinz Wrobel <heinz.wrobel@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/net/fsl-mc/mc.c