arm: mach-keystone: Modify secure image size before copy
authorAndrew F. Davis <afd@ti.com>
Thu, 29 Jun 2017 13:38:25 +0000 (08:38 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 10 Jul 2017 18:26:05 +0000 (14:26 -0400)
commit9e58d4dbe361319bd964a760b4f6f0ddfc7b9e7f
tree6b991042015b151d5cedb225a4ac2d55724918fa
parent7bdc6947d2cdfd45b6fc0a51f8f7e77a54c68e55
arm: mach-keystone: Modify secure image size before copy

The size of the secure image does not include the size of the
header, subtract this out before we move the image or we grab
extra data after the image.

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