arm: Don't invalidate unaligned cache regions
authorSimon Glass <sjg@chromium.org>
Mon, 20 Jun 2016 01:43:02 +0000 (19:43 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 14 Jul 2016 22:33:10 +0000 (18:33 -0400)
commit6b424611a8dee0444459c0c205a9d72f65f61456
treeed61f6aeb018e77aa12ebd7afdb0fc338181438e
parent397b5697ad242408979a00dda14138aa1439f52b
arm: Don't invalidate unaligned cache regions

At present armv7 will unhappily invalidate a cache region and print an
error message. Make it skip the operation instead, as it does with other
cache operations.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
arch/arm/cpu/armv7/cache_v7.c