commit | 7026e84ae838da8ee7fb6f4b56473f206aff4d31 | [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 | 2cc9a7707d322f0cb715ff8427b15ed216d948f6 [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>