commit | 2f85c2be21dfee1e8ac1f8fb9759be7108233e85 | [log] [tgz] |
---|---|---|
author | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | Fri Sep 07 19:02:03 2018 +0200 |
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | Sat Sep 22 21:02:03 2018 +0200 |
tree | e2c84aa7045529245c41ec07d0dd6ec51db3266d | |
parent | d1c3d8bdfa41a7002bc9c9c0fe8cf7b41d573c0e [diff] |
MIPS: cache: reimplement dcache_[status, enable, disable] Those functions are not needed during cache init and can be implemented in C. Only support the safe disabling of caches when this is required for booting an OS. Reenabling caches is much harder to implement if an optional coherency manager must be supported. As there is no real use-case anyway, dcache_enable is implemented with an error message. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>