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 <laurentiu.mihalcea@nxp.com>
This commit is contained in:
Laurentiu Mihalcea 2023-11-29 13:24:02 +02:00 committed by Kai Vehmanen
parent faf725aba0
commit a945ec45e7
1 changed files with 1 additions and 1 deletions

View File

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