Searched hist:fb64cda579985e21610672eae44faf40eadd71ea (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/arch/mips/lib/ |
| H A D | cache.c | fb64cda579985e21610672eae44faf40eadd71ea Fri May 27 13:28:06 UTC 2016 Paul Burton <paul.burton@imgtec.com> MIPS: Abstract cache op loops with a macro
The various cache maintenance routines perform a number of loops over cache lines. Rather than duplicate the code for performing such loops, abstract it out into a new cache_loop macro which performs an arbitrary number of cache ops on a range of addresses. This reduces duplication in the existing L1 cache maintenance code & will allow for not adding further duplication when introducing L2 cache support.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
|