]> git.dujemihanovic.xyz Git - u-boot.git/commit
driver: net: fsl-mc: Fix DPC MAC address fixup
authorIoana Ciocoi Radulescu <ruxandra.radulescu@nxp.com>
Tue, 26 Feb 2019 15:50:07 +0000 (15:50 +0000)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Fri, 15 Mar 2019 06:22:00 +0000 (11:52 +0530)
commit2e9f1bf5888b0df65a691bd10702f33193e9a666
tree8c3cb17e5fdea54137c15b0d3cc32c92fcaac7e3
parent82fadccccfd80c6162639180af85c600b6e41d9e
driver: net: fsl-mc: Fix DPC MAC address fixup

If node /board_info/ports does not exist in the DPC file,
function mc_fixup_dpc() will skip not only MAC address fixup,
but also the cache flush at the end. This may cause the other
fixup changes (e.g. ICID related ones) to be ignored by MC.

Fixes: 1161dbcc0a36 ("drivers: net: fsl-mc: Include MAC addr fixup to DPL")
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
drivers/net/fsl-mc/mc.c