]> git.sur5r.net Git - u-boot/commit
armv8: add hooks for all cache-wide operations
authorStephen Warren <swarren@nvidia.com>
Wed, 19 Oct 2016 21:18:46 +0000 (15:18 -0600)
committerTom Warren <twarren@nvidia.com>
Mon, 7 Nov 2016 22:36:29 +0000 (14:36 -0800)
commit1ab557a074aaa1927f7532489a1b75137e245b70
tree7419c580b01cfad546a1014b85aabf0f93f097c6
parentb9ae6415b6a099478c71fc3d410fc9a3776d7afa
armv8: add hooks for all cache-wide operations

SoC-specific logic may be required for all forms of cache-wide
operations; invalidate and flush of both dcache and icache (note that
only 3 of the 4 possible combinations make sense, since the icache never
contains dirty lines). This patch adds an optional hook for all
implemented cache-wide operations, and renames the one existing hook to
better represent exactly which operation it is implementing. A dummy
no-op implementation of each hook is provided.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/armv8/cache.S
arch/arm/cpu/armv8/cache_v8.c
arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S
arch/arm/include/asm/system.h
arch/arm/mach-tegra/tegra186/cache.S