]> git.ipfire.org Git - thirdparty/u-boot.git/commit
fpga: zynq: aes: Use flush_dcache_range() instead of cache on/off
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Tue, 6 Mar 2018 12:07:08 +0000 (17:37 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 8 Mar 2018 08:33:42 +0000 (09:33 +0100)
commit0538c56d693d5d1f2f7ec57d1378f532df71b7dc
tree6fe85639f3392f7d894a22b13edec5e0ba3b92cb
parentac71e8f22162ba4d63c017f3b62394d936140802
fpga: zynq: aes: Use flush_dcache_range() instead of cache on/off

Use flush_dcache_range() instead of dcache disable and
enable as its more meaningful to flush a region than
disabling cache and enabling it back. This fixes the
issue of GEM failure after using zynq aes.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/fpga/zynqpl.c