ARC: Cache: Add more HW configuration checks
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Wed, 21 Mar 2018 12:59:03 +0000 (15:59 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Wed, 21 Mar 2018 14:06:55 +0000 (17:06 +0300)
commit7241944a5b3069205f615f8a0a5d9f3833c80156
tree2ef878dfec9ded1f61e5400cb0234d992bf414f3
parent375945bac2b8cbb547940ad5cf1e16a0eb0ddfeb
ARC: Cache: Add more HW configuration checks

Add additional cache configuration checks and note about
supported configurations.

It is unlikely to face some configuration in real life but
it's better to be prepared and refuse to work on those.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
arch/arc/lib/cache.c