[PATCH] versal: fix versal PM ret payload size

Michal Simek michal.simek at xilinx.com
Wed Jul 8 14:54:15 CEST 2020


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



More information about the U-Boot mailing list