MLK-18822 imx: Fix bootaux issue when running on ARM64
authorYe Li <ye.li@nxp.com>
Wed, 11 Jul 2018 08:41:24 +0000 (01:41 -0700)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 09:34:00 +0000 (02:34 -0700)
commit2795cbf333997f2b723dff7d7585ece0257a0b3f
treef98185aa5fc6592ebde2d5494e5882cae8e521bb
parent18ec1e8b2be5c0952636960b39edd40f38ffcbc3
MLK-18822 imx: Fix bootaux issue when running on ARM64

The bootaux from community 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.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit f3d936c84759fcd47a2489cf31fe46cd84ba1f47)
arch/arm/mach-imx/imx_bootaux.c