/* As invalidate_dcache_all() is not used in generic U-Boot code and as we don't need it in arch/arc code alone (invalidate without flush) we implement flush_n_invalidate_dcache_all (flush and invalidate in 1 operation) because it's much safer. See  for more details.  */
void flush_n_invalidate_dcache_all(void)
/* As invalidate_dcache_all() is not used in generic U-Boot code and as we don't need it in arch/arc code alone (invalidate without flush) we implement flush_n_invalidate_dcache_all (flush and invalidate in 1 operation) because it's much safer. See  for more details.  */
void flush_n_invalidate_dcache_all(void)
{
	__dc_entire_op(OP_FLUSH_N_INV);
	if (is_isa_arcv2() && !slc_data_bypass())
		__slc_entire_op(OP_FLUSH_N_INV);
}