cache.h 552 B

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