imx: bootaux: Fix bootaux issue when running on ARM64
authorYe Li <ye.li@nxp.com>
Thu, 15 Jun 2023 10:09:19 +0000 (18:09 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 13 Jul 2023 09:29:40 +0000 (11:29 +0200)
commit8d84a8f48702861b6bb99944c34cab76e0dd1cf3
treef538805e11d3bb254c798e8ddf986ae5940dda3a
parent9395eb05ee816fd8e5082e10e84391e5a621d9f0
imx: bootaux: Fix bootaux issue when running on ARM64

The bootaux uses ulong to read private data and write to M4 TCM,
this cause problem on ARM64 platform where the ulong is 8bytes.
Fix it by using u32 to replace ulong.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx_bootaux.c