diff options
author | Eugeniy Paltsev | 2018-03-21 15:58:53 +0300 |
---|---|---|
committer | Alexey Brodkin | 2018-03-21 17:06:54 +0300 |
commit | c877a8911d1262d3f78e1f24a24ef2f5e1333676 (patch) | |
tree | 6e536ca5919149416ab27b5daec8aa881abb3188 /include/mpc85xx.h | |
parent | 88ae27eda3d47ab1c7885745f28fe3cf6f0b9a5b (diff) |
ARC: Cache: Allways check D$ status before entire/line ops
As we are planning to get rid of dozens of ifdef's in cache.c we
would better check D$ status before each entire/line operation
then check CONFIG_SYS_DCACHE_OFF config option.
This makes the code cleaner as well as D$ entire/line functions
remain functional even if we enable or disable D$ in run-time.
As we need to check status before *each* function execution and we
call D$ entire/line functions from different places we add
this check directly into D$ entire/line functions instead of
their callers to avoid code duplication.
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'include/mpc85xx.h')
0 files changed, 0 insertions, 0 deletions