commit | a422c21e49bdc61170184a2c2949e02dc2bfa0f1 | [log] [tgz] |
---|---|---|
author | Breno Lima <breno.lima@nxp.com> | Thu Mar 25 17:30:16 2021 +0800 |
committer | Stefano Babic <sbabic@denx.de> | Thu Apr 08 09:18:29 2021 +0200 |
tree | 8bbe7fa91f86232739a85b055645bbcd88189fde | |
parent | 953ef2816df2f85012830cf8c3524484953735f9 [diff] |
crypto: fsl: blob: Flush dcache range for destination address The blob command is not working on i.MX7D, i.MX8MQ and i.MX8MM devices. Due to different cache management it's necessary to flush dcache range for destination address so data can be available in memory. Add necessary operations in blob_encap() and blob_decap() functions. Signed-off-by: Breno Lima <breno.lima@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>