driver: fsl-mc: Perform fsl-mc fdt fixup for lazyapply dpl
authorYogesh Gaur <yogeshnarayan.gaur@nxp.com>
Tue, 16 Jan 2018 04:38:24 +0000 (10:08 +0530)
committerYork Sun <york.sun@nxp.com>
Tue, 30 Jan 2018 17:13:32 +0000 (09:13 -0800)
commitf9747a5a5d34d39843f8007b4230a86bcb852461
tree9980038a106717f52a7ac64f7e1b5d6c3a530294
parentae5326a6b34b34b1827edf2eee1a0e9e5363c5a2
driver: fsl-mc: Perform fsl-mc fdt fixup for lazyapply dpl

For for case of lazyapply method, API fdt_fixup_board_enet() gets
invoked before DPL being deployed. This leads to an issue that
fsl-mc fdt fixup status marked as fail and dprc driver didn't get
registered in linux boot.

Fixes this issue by calling fdt_fixup_board_enet() for case when
DPL is deployed successfully in lazyapply method.

Signed-off-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/net/fsl-mc/mc.c
include/fdt_support.h