Forked from
Reform / reform-boundary-uboot
12740 commits behind the upstream repository.
-
Paul Burton authored
Rather than probing the cache line sizes on every call of any cache maintenance function, probe them once during boot & store the values in the global data structure for later use. This will reduce the overhead of the cache maintenance functions, which isn't a big deal yet but becomes more important once L2 caches which may expose their properties via coprocessor 2 or the CM are supported. Signed-off-by:
Paul Burton <paul.burton@imgtec.com>
Paul Burton authoredRather than probing the cache line sizes on every call of any cache maintenance function, probe them once during boot & store the values in the global data structure for later use. This will reduce the overhead of the cache maintenance functions, which isn't a big deal yet but becomes more important once L2 caches which may expose their properties via coprocessor 2 or the CM are supported. Signed-off-by:
Paul Burton <paul.burton@imgtec.com>
cache.c 2.41 KiB