Skip to content
Commit 6ba7691e authored by Eric Ackermann's avatar Eric Ackermann Committed by Benjamin Cabé
Browse files

soc: cva6: Implement missing cache management APIs



In hardware, cva6 currently only provides global disable/enable
functions for the Dcache and Icache. Disabling and re-enabling them also
has the effect of flushing and invalidating the cache.
Future cva6 SoCs will add support RISC-V's standardized cache management
operations.
This commit provides a default implementation for all methods currently
part of the cache API. These implementations can be overwritten at board
or SoC level, as they use weak linking.

Signed-off-by: default avatarEric Ackermann <eric.ackermann@cispa.de>
parent e367e1d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment