diff options
author | Mian Yousaf Kaukab <ykaukab@suse.de> | 2019-01-29 16:38:30 +0100 |
---|---|---|
committer | Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> | 2019-03-03 20:56:00 +0530 |
commit | 4130780a8354765e63e4dc77dd64be1863d4ce4b (patch) | |
tree | f442f51330e4ac81ba3d5cc57a012d1d79d9e889 /board/freescale/ls1088a | |
parent | cfba74d0bef350d81241b059180bcc5a1e93bdfa (diff) | |
download | u-boot-4130780a8354765e63e4dc77dd64be1863d4ce4b.tar.gz u-boot-4130780a8354765e63e4dc77dd64be1863d4ce4b.tar.bz2 u-boot-4130780a8354765e63e4dc77dd64be1863d4ce4b.zip |
board: ls1088a: fix dppa exit when using efi boot
Same issue for ls2080a was fixed by following patch:
b7b8410a8f ls2080: Exit dpaa only right before exiting U-Boot
Signed-off-by: Mian Yousaf Kaukab <ykaukab@suse.de>
Reviewed-by: Ashish Kumar <Ashish.Kumar@nxp.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Diffstat (limited to 'board/freescale/ls1088a')
-rw-r--r-- | board/freescale/ls1088a/ls1088a.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/board/freescale/ls1088a/ls1088a.c b/board/freescale/ls1088a/ls1088a.c index 953aab6e88..59eed5b369 100644 --- a/board/freescale/ls1088a/ls1088a.c +++ b/board/freescale/ls1088a/ls1088a.c @@ -643,6 +643,11 @@ int arch_misc_init(void) #endif #ifdef CONFIG_FSL_MC_ENET +void board_quiesce_devices(void) +{ + fsl_mc_ldpaa_exit(gd->bd); +} + void fdt_fixup_board_enet(void *fdt) { int offset; @@ -732,7 +737,7 @@ void fsl_fdt_fixup_flash(void *fdt) int ft_board_setup(void *blob, bd_t *bd) { - int err, i; + int i; u64 base[CONFIG_NR_DRAM_BANKS]; u64 size[CONFIG_NR_DRAM_BANKS]; @@ -762,9 +767,6 @@ int ft_board_setup(void *blob, bd_t *bd) #ifdef CONFIG_FSL_MC_ENET fdt_fixup_board_enet(blob); - err = fsl_mc_ldpaa_exit(bd); - if (err) - return err; #endif if (is_pb_board()) fixup_ls1088ardb_pb_banner(blob); |