u-boot/arch/arc
Eugeniy Paltsev ea9f6f1e87 ARC: Cache: Move SLC status check into slc_entire_op() and slc_rgn_op()
As of today we check SLC status before each call of __slc_rgn_op()
or __slc_entire_op(). So move status check into __slc_rgn_op()
and __slc_entire_op().

As we need to check status before *each* function execution and we
call slc_entire_op() and slc_rgn_op() from different places we add
this check directly into SLC 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>
2018-03-21 17:06:54 +03:00
..
cpu arc: No need in sections defined in sources with newer tools 2016-08-05 12:50:25 +03:00
dts ARC: HSDK: DTS: Add cgu-clk node 2018-01-19 17:59:35 +03:00
include/asm ARC: Move BCR encodings to separate header file 2018-03-21 17:06:54 +03:00
lib ARC: Cache: Move SLC status check into slc_entire_op() and slc_rgn_op() 2018-03-21 17:06:54 +03:00
config.mk arc: Eliminate unused code and data with GCC's garbage collector 2018-03-21 16:21:34 +03:00
Kconfig arc: Add support for HS Development Kit board 2017-06-29 19:34:10 +03:00
Makefile arc: introduce separate section for interrupt vector table 2015-01-15 22:38:42 +03:00