From: Ibai Erkiaga <ibai.erkiaga-elorza@xilinx.com>
Date: Wed, 1 Jul 2020 23:10:58 +0000 (+0100)
Subject: versal: fix versal PM ret payload size
X-Git-Tag: v2025.01-rc5-pxa1908~2247^2~25
X-Git-Url: http://git.dujemihanovic.xyz/html/static/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=11b1dcec09f035e3b70a2fc63913ab00991ecba7;p=u-boot.git

versal: fix versal PM ret payload size

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>
---

diff --git a/arch/arm/mach-versal/include/mach/sys_proto.h b/arch/arm/mach-versal/include/mach/sys_proto.h
index 31af049a21..cfd480bec1 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);