Exit early if size zero for cache helpers
authorSoby Mathew <soby.mathew@arm.com>
Thu, 15 Jun 2017 15:18:45 +0000 (16:18 +0100)
committerSoby Mathew <soby.mathew@arm.com>
Wed, 21 Jun 2017 16:46:28 +0000 (17:46 +0100)
commit3ec5204c49ddbc5c1142eda28106a572ca9ed9eb
tree77c90aae959402fa221e6aace7b744a6ab9d0ca2
parentee05ae168061d713129affb93f4d275ff7a0d1d6
Exit early if size zero for cache helpers

This patch enables cache helper functions `flush_dcache_range`,
`clean_dcache_range` and `invalidate_dcache_range` to exit early
if the size argument specified is zero

Change-Id: I0b63e8f4bd3d47ec08bf2a0b0b9a7ff8a269a9b0
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
lib/aarch32/cache_helpers.S
lib/aarch64/cache_helpers.S