GNU Linux-libre 4.19.304-gnu1
[releases.git] / arch / mips / include / asm / mach-pic32 / cpu-feature-overrides.h
1 /*
2  * Joshua Henderson <joshua.henderson@microchip.com>
3  * Copyright (C) 2015 Microchip Technology Inc.  All rights reserved.
4  *
5  * This file is subject to the terms and conditions of the GNU General Public
6  * License.  See the file "COPYING" in the main directory of this archive
7  * for more details.
8  */
9 #ifndef __ASM_MACH_PIC32_CPU_FEATURE_OVERRIDES_H
10 #define __ASM_MACH_PIC32_CPU_FEATURE_OVERRIDES_H
11
12 /*
13  * CPU feature overrides for PIC32 boards
14  */
15 #ifdef CONFIG_CPU_MIPS32
16 #define cpu_has_vint            1
17 #define cpu_has_veic            0
18 #define cpu_has_tlb             1
19 #define cpu_has_4kex            1
20 #define cpu_has_4k_cache        1
21 #define cpu_has_fpu             0
22 #define cpu_has_counter         1
23 #define cpu_has_llsc            1
24 #define cpu_has_nofpuex         0
25 #define cpu_icache_snoops_remote_store 1
26 #endif
27
28 #ifdef CONFIG_CPU_MIPS64
29 #error This platform does not support 64bit.
30 #endif
31
32 #endif /* __ASM_MACH_PIC32_CPU_FEATURE_OVERRIDES_H */