diff options
author | Michael Walle <michael@walle.cc> | 2020-06-04 21:05:33 +0200 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2020-07-27 14:16:28 +0530 |
commit | 30325c2c4fb35fcac3b0125b1260bfdac7f45dff (patch) | |
tree | d30721499b90748b251201ad7b07fef2d16c3084 /disk | |
parent | af0e08ca108dabced8f2dd8796938a723483e6c1 (diff) | |
download | u-boot-30325c2c4fb35fcac3b0125b1260bfdac7f45dff.zip u-boot-30325c2c4fb35fcac3b0125b1260bfdac7f45dff.tar.gz u-boot-30325c2c4fb35fcac3b0125b1260bfdac7f45dff.tar.bz2 |
crypto/fsl: fix unaligned access
On aarch64 running with dcache off, will result in an unaligned access
exception:
=> dcache off
=> hash sha1 $kernel_addr_r 100
"Synchronous Abort" handler, esr 0x96000061
elr: 00000000960317d8 lr : 00000000960316a4 (reloc)
elr: 00000000fbd787d8 lr : 00000000fbd786a4
[..]
The compiler emits a "stur x1, [x0, #12]". x1 is might just be 32 bit
aligned pointer. Remove the unused u64 element from the union to drop
the minimal alignment to 32 bit. Also remove the union, because it is
no more needed.
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'disk')
0 files changed, 0 insertions, 0 deletions