diff options
author | Yogesh Gaur <yogeshnarayan.gaur@nxp.com> | 2017-12-07 08:40:14 +0300 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2017-12-15 00:05:07 +0300 |
commit | 70a131eb5ac1f4cceb5500ad3224473020497cc9 (patch) | |
tree | fb5e975678c6ce7b1a10f8ae43c5f244a1e72829 /board/freescale/ls1088a/ls1088a.c | |
parent | 20c7305101219aba62c9f1f84920a99d4026cad5 (diff) | |
download | u-boot-70a131eb5ac1f4cceb5500ad3224473020497cc9.tar.xz |
board/ls2080a, ls1088a: Add check for mc-dpl applied in fdt
Function fdt_fixup_board_enet() performs fdt fixup. Only return
fdt_status_okay() when both MC is applied and DPL is deployed, else
return fdt_status_fail().
This check is added to LS1088A/LS2080A/LS2088A boards.
Signed-off-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board/freescale/ls1088a/ls1088a.c')
-rw-r--r-- | board/freescale/ls1088a/ls1088a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/ls1088a/ls1088a.c b/board/freescale/ls1088a/ls1088a.c index cb589575b3..96f183e156 100644 --- a/board/freescale/ls1088a/ls1088a.c +++ b/board/freescale/ls1088a/ls1088a.c @@ -378,7 +378,7 @@ void fdt_fixup_board_enet(void *fdt) return; } - if (get_mc_boot_status() == 0) + if ((get_mc_boot_status() == 0) && (get_dpl_apply_status() == 0)) fdt_status_okay(fdt, offset); else fdt_status_fail(fdt, offset); |