mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
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>
This commit is contained in:
parent
20c7305101
commit
70a131eb5a
4 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
|
@ -90,7 +90,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);
|
||||
|
|
|
@ -295,7 +295,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);
|
||||
|
|
|
@ -331,7 +331,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);
|
||||
|
|
Loading…
Reference in a new issue