[PATCH] versal: fix versal PM ret payload size

From: Ibai Erkiaga ibai.erkiaga-elorza@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@xilinx.com Signed-off-by: Michal Simek michal.simek@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);

st 8. 7. 2020 v 14:54 odesÃlatel Michal Simek michal.simek@xilinx.com napsal:
From: Ibai Erkiaga ibai.erkiaga-elorza@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@xilinx.com Signed-off-by: Michal Simek michal.simek@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
participants (2)
-
Michal Simek
-
Michal Simek