summaryrefslogtreecommitdiff
path: root/lib/avb/fsl/fsl_avb_ab_flow.c
diff options
context:
space:
mode:
authorJi Luo <ji.luo@nxp.com>2019-02-20 10:04:20 +0800
committerJi Luo <ji.luo@nxp.com>2019-02-21 18:05:35 +0800
commita418bbd42ce5a8c2773640fe64ad2c5bb2ea4cfa (patch)
tree4abda1e9c00132b601811f0ade9bbbaf9f283e98 /lib/avb/fsl/fsl_avb_ab_flow.c
parent8f3f0d339783e066f7815408949677b62e465b62 (diff)
MA-14043 Fix avb verify fail in adb reboot test
During AVB verify, CAAM will be invoked to calculate the hash of boot.img and dtbo.img. ALLOC_CACHE_ALIGN_BUFFER() supports allocate cache aligned buffer on *stack*, which may cause 'dirty' dcache data be flushed to dram after CAAM operations complete. Use memalign() to allocate cache aligned buffer on *heap* to fix this issue. Test: 1200 times reboot test on imx8qm and 2300 times reboot on imx8qxp. Change-Id: I8f86248df318093d44a46dcab76306377898766e Signed-off-by: Ji Luo <ji.luo@nxp.com>
Diffstat (limited to 'lib/avb/fsl/fsl_avb_ab_flow.c')
0 files changed, 0 insertions, 0 deletions