arm: mach-omap2: Align image address before cache operations
authorAndrew F. Davis <afd@ti.com>
Wed, 26 Jul 2017 19:53:19 +0000 (14:53 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 31 Jul 2017 16:21:39 +0000 (12:21 -0400)
commitef3fc42ded96403284e5e9bf37b63d332aedd7b4
tree19d8ce5f4b67ed1495fa6f3e5f5d9c32e1990fef
parentc826d1728673b7c692091048f0e434fcb9fd0d80
arm: mach-omap2: Align image address before cache operations

The image address passed to secure_boot_verify_image() may not be
cacheline aligned, round the address down to the nearest cacheline.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/mach-omap2/sec-common.c