diff options
author | Benjamin Lemouzy <blemouzy@centralp.fr> | 2025-02-21 08:05:01 +0100 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2025-03-03 14:18:50 +0800 |
commit | ef0e979e14332e37421eb3ebe5b88c2409a8803a (patch) | |
tree | 679cd0cd04581b188dbe5a83cf101ec463824627 /board/lwmon5/lwmon5.c | |
parent | 9f258e4820026790ba0dfc27030a5c66d7169973 (diff) | |
download | u-boot-ef0e979e14332e37421eb3ebe5b88c2409a8803a.tar.gz |
crypto: fsl_hash: fix flush dcache alignment in caam_hash()
Loading a FIT kernel image with hash hardware acceleration enabled
(CONFIG_SHA_HW_ACCEL=y) displays the following CACHE warning:
[...]
Trying 'kernel-1' kernel subimage
[...]
Verifying Hash Integrity ... sha256CACHE: Misaligned operation at
range [16000128, 1673fae8]
[...]
Trying 'ramdisk-1' ramdisk subimage
[...]
Verifying Hash Integrity ... sha256CACHE: Misaligned operation at
range [1676d6d4, 1737a5d4]
[...]
Trying 'fdt-imx6q-xxx.dtb' fdt subimage
[...]
Verifying Hash Integrity ... sha256CACHE: Misaligned operation at
range [1673fbdc, 1674b0dc]
[...]
This patch fixes it.
Tested on:
- i.MX 6 custom board
- LS1021A custom board
Signed-off-by: Benjamin Lemouzy <blemouzy@centralp.fr>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'board/lwmon5/lwmon5.c')
0 files changed, 0 insertions, 0 deletions