cache.h 438 B

123456789101112131415161718
  1. /*
  2. * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
  3. * Scott McNutt <smcnutt@psyent.com>
  4. *
  5. * SPDX-License-Identifier: GPL-2.0+
  6. */
  7. #ifndef __ASM_NIOS2_CACHE_H_
  8. #define __ASM_NIOS2_CACHE_H_
  9. /*
  10. * Valid L1 data cache line sizes for the NIOS2 architecture are 4,
  11. * 16, and 32 bytes. We default to the largest of these values for
  12. * alignment of DMA buffers.
  13. */
  14. #define ARCH_DMA_MINALIGN 32
  15. #endif /* __ASM_NIOS2_CACHE_H_ */