[U-Boot] [PATCH 01/12] nxp: ls1088a: fix dppa exit when using efi boot

Ashish Kumar ashish.kumar at nxp.com
Tue Feb 26 08:52:48 UTC 2019


> -----Original Message-----
> From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Mian Yousaf
> Kaukab
> Sent: Tuesday, January 29, 2019 9:09 PM
> To: u-boot at lists.denx.de
> Cc: Priyanka Jain <priyanka.jain at nxp.com>
> Subject: [U-Boot] [PATCH 01/12] nxp: 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 at suse.de>

Reviewed-by: Ashish Kumar <Ashish.Kumar at nxp.com>
Patch is good to go.

Regards
Ashish 
> ---
>  board/freescale/ls1088a/ls1088a.c | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)
> 
> diff --git a/board/freescale/ls1088a/ls1088a.c
> b/board/freescale/ls1088a/ls1088a.c
> index 953aab6e88..6a33958207 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);
> --
> 2.11.0
> 
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.de
> nx.de%2Flistinfo%2Fu-
> boot&data=02%7C01%7CAshish.Kumar%40nxp.com%7C0dcdee6f35204c
> 1d80b408d6860013cf%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%
> 7C636843732233772401&sdata=47xZKLsi8ISbyaNswO0vr4WhOwkNl7lzX
> QZ7AoK0KnU%3D&reserved=0


More information about the U-Boot mailing list