net: fsl-mc: fixup DPC: add /board/ports node if missing
authorRazvan Ionut Cirjan <razvanionut.cirjan@nxp.com>
Tue, 28 Apr 2020 13:09:59 +0000 (16:09 +0300)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 19 May 2020 03:52:08 +0000 (09:22 +0530)
commitd5b0af047a942b21ea86476e3931df28445b1ca4
tree99e5c0143d9fe0e898af24c2cc3591e8b65a87a9
parent62d3a58dcef90aeb2e2aae7349ecf6d7bce8d54a
net: fsl-mc: fixup DPC: add /board/ports node if missing

The DPC fixup for MAC address and enet_if is not made if
/board/ports node is missing in DPC file.
Add /board/ports or /ports nodes if them are missing.

Signed-off-by: Razvan Ionut Cirjan <razvanionut.cirjan@nxp.com>
Reviewed-by: Ioana Ciornei <Ioana.ciornei@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/net/fsl-mc/mc.c