commit | d82889d0e1044749056ba508d43af055d1926695 | [log] [tgz] |
---|---|---|
author | Gary Bisson <gary.bisson@boundarydevices.com> | Wed Nov 14 17:55:29 2018 +0100 |
committer | Stefano Babic <sbabic@denx.de> | Tue Jan 01 14:12:18 2019 +0100 |
tree | 6761bc456e62f4db4965b77699a9a86e1b39c98d | |
parent | 5c72a45c636a567d4ac7250bc53716f67bfcf018 [diff] |
imx: bootaux: fix stack and pc assignment on 64-bit platforms Using ulong is wrong as its size depends on the Host CPU architecture (32-bit vs. 64-bit) although the Cortex-M4 is always 32-bit. Without this patch, the stack and PC are obviously wrong and it generates an abort when used on 64-bit processors such as the i.MX8MQ. Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>