accel/qaic: Add AIC200 support
[drm/drm-misc.git] / arch / microblaze / include / asm / cache.h
blob1903988b9e23470cda621f4461b2a3b758946396
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Cache operations
5 * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu>
6 * Copyright (C) 2007-2009 PetaLogix
7 * Copyright (C) 2003 John Williams <jwilliams@itee.uq.edu.au>
8 */
10 #ifndef _ASM_MICROBLAZE_CACHE_H
11 #define _ASM_MICROBLAZE_CACHE_H
13 #include <asm/registers.h>
15 #define L1_CACHE_SHIFT 5
16 /* word-granular cache in microblaze */
17 #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
19 #define SMP_CACHE_BYTES L1_CACHE_BYTES
21 /* MS be sure that SLAB allocates aligned objects */
22 #define ARCH_DMA_MINALIGN L1_CACHE_BYTES
24 #define ARCH_SLAB_MINALIGN L1_CACHE_BYTES
26 #endif /* _ASM_MICROBLAZE_CACHE_H */