1 /* SPDX-License-Identifier: GPL-2.0+ */ 2 /* 3 * Copyright (c) 2011 The Chromium OS Authors. 4 */ 5 6 #ifndef __MIPS_CACHE_H__ 7 #define __MIPS_CACHE_H__ 8 9 #define ARCH_DMA_MINALIGN CONFIG_SYS_CACHELINE_SIZE 10 11 #ifndef __ASSEMBLY__ 12 /** 13 * mips_cache_probe() - Probe the properties of the caches 14 * 15 * Call this to probe the properties such as line sizes of the caches 16 * present in the system, if any. This must be done before cache maintenance 17 * functions such as flush_cache may be called. 18 */ 19 void mips_cache_probe(void); 20 #endif 21 22 #endif /* __MIPS_CACHE_H__ */ 23