Skip to content
Snippets Groups Projects
Commit 6eb15e50 authored by Alexey Brodkin's avatar Alexey Brodkin
Browse files

arc: add support for SLC (System Level Cache, AKA L2-cache)


ARCv2 cores may have built-in SLC (System Level Cache, AKA L2-cache).
This change adds functions required for controlling SLC:
 * slc_enable/disable
 * slc_flush/invalidate

For now we just disable SLC to escape DMA coherency issues until either:
 * SLC flush/invalidate is supported in DMA APIin U-Boot
 * hardware DMA coherency is implemented (that might be board specific
   so probably we'll need to have a separate Kconfig option for
   controlling SLC explicitly)

Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
parent 09424d11
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment