From a945ec45e777b4370970c09a4127fff4d1028171 Mon Sep 17 00:00:00 2001 From: Laurentiu Mihalcea Date: Wed, 29 Nov 2023 13:24:02 +0200 Subject: [PATCH] imx93_a55: memory.h: Add ULL suffix on MU_BASE's definition Currently, the imx_mu_write() and imx_mu_read() functions cast MU_BASE's value to a pointer. On 64-bit platforms such as i.MX93 this leads to compilation warnings because the value of MU_BASE is 32-bit while the pointers are 64-bit. As such, to solve this, add the ULL suffix to the definition of MU_BASE to make it 64-bit. Signed-off-by: Laurentiu Mihalcea --- src/platform/imx93_a55/include/platform/lib/memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/imx93_a55/include/platform/lib/memory.h b/src/platform/imx93_a55/include/platform/lib/memory.h index 579c2b43d..77ca3ec61 100644 --- a/src/platform/imx93_a55/include/platform/lib/memory.h +++ b/src/platform/imx93_a55/include/platform/lib/memory.h @@ -49,7 +49,7 @@ #define HEAPMEM_SIZE 0x00010000 /* SOF uses A side of the WAKEUPMIX MU */ -#define MU_BASE 0x42430000 +#define MU_BASE 0x42430000ULL /* SOF uses EDMA2 (a.k.a EDMA4 in the TRM) */ #define EDMA2_BASE 0x42010000