arm: mach-omap2: Flush cache after FIT post-processing image
authorAndrew F. Davis <afd@ti.com>
Wed, 22 Feb 2017 23:46:39 +0000 (17:46 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 27 Feb 2017 17:14:59 +0000 (12:14 -0500)
commit4f65ee38131a180cc2d8bc2cfe76cca31a9d55a4
tree392078ba9de55b44f12d3917a68d52a7d085a21b
parent7131d2d06ba8ea31eaad2a1bb2765b1fda00a8e3
arm: mach-omap2: Flush cache after FIT post-processing image

After we authenticate/decrypt an image we need to flush the caches
as they may still contain bits of the encrypted image. This will
cause failures if we attempt to jump to this image.

Reported-by: Yogesh Siraswar<yogeshs@ti.com>
Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-omap2/sec-common.c