[PATCH] versal: fix versal PM ret payload size

Michal Simek monstr at monstr.eu
Fri Jul 24 14:15:28 CEST 2020


st 8. 7. 2020 v 14:54 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> From: Ibai Erkiaga <ibai.erkiaga-elorza at xilinx.com>
>
> The PM return payload size is defined as 4 bytes for Versal arquitecture
> while the PM calls implemented both in the Versal clock driver and
> ZynqMP firmware driver expects 5 bytes length.
>
> Signed-off-by: Ibai Erkiaga <ibai.erkiaga-elorza at xilinx.com>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
> ---
>  arch/arm/mach-versal/include/mach/sys_proto.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-versal/include/mach/sys_proto.h b/arch/arm/mach-versal/include/mach/sys_proto.h
> index 31af049a21c9..cfd480bec17e 100644
> --- a/arch/arm/mach-versal/include/mach/sys_proto.h
> +++ b/arch/arm/mach-versal/include/mach/sys_proto.h
> @@ -8,7 +8,7 @@ enum {
>         TCM_SPLIT,
>  };
>
> -#define PAYLOAD_ARG_CNT        4U
> +#define PAYLOAD_ARG_CNT        5U
>
>  void tcm_init(u8 mode);
>  void mem_map_fill(void);
> --
> 2.27.0
>

Applied.
M

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs


More information about the U-Boot mailing list