Message ID | b5ed810738521cad8ba6a3b482fefac4a8d67737.1594212854.git.michal.simek@xilinx.com |
---|---|
State | Accepted |
Commit | 11b1dcec09f035e3b70a2fc63913ab00991ecba7 |
Headers | show |
Series | versal: fix versal PM ret payload size | expand |
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 -- 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
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);