aboutsummaryrefslogtreecommitdiff
path: root/include/mpc85xx.h
diff options
context:
space:
mode:
authorEugeniy Paltsev2018-03-21 15:58:53 +0300
committerAlexey Brodkin2018-03-21 17:06:54 +0300
commitc877a8911d1262d3f78e1f24a24ef2f5e1333676 (patch)
tree6e536ca5919149416ab27b5daec8aa881abb3188 /include/mpc85xx.h
parent88ae27eda3d47ab1c7885745f28fe3cf6f0b9a5b (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