xref: /openbmc/linux/arch/mips/include/asm/mach-lantiq/falcon/cpu-feature-overrides.h (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1*d2912cb1SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */
2362b34faSThomas Langer /*
3362b34faSThomas Langer  *  Lantiq FALCON specific CPU feature overrides
4362b34faSThomas Langer  *
5362b34faSThomas Langer  *  Copyright (C) 2013 Thomas Langer, Lantiq Deutschland
6362b34faSThomas Langer  *
7362b34faSThomas Langer  *  This file was derived from: include/asm-mips/cpu-features.h
8362b34faSThomas Langer  *	Copyright (C) 2003, 2004 Ralf Baechle
9362b34faSThomas Langer  *	Copyright (C) 2004 Maciej W. Rozycki
10362b34faSThomas Langer  */
11362b34faSThomas Langer #ifndef __ASM_MACH_FALCON_CPU_FEATURE_OVERRIDES_H
12362b34faSThomas Langer #define __ASM_MACH_FALCON_CPU_FEATURE_OVERRIDES_H
13362b34faSThomas Langer 
14362b34faSThomas Langer #define cpu_has_tlb		1
15362b34faSThomas Langer #define cpu_has_4kex		1
16362b34faSThomas Langer #define cpu_has_3k_cache	0
17362b34faSThomas Langer #define cpu_has_4k_cache	1
18362b34faSThomas Langer #define cpu_has_sb1_cache	0
19362b34faSThomas Langer #define cpu_has_fpu		0
20362b34faSThomas Langer #define cpu_has_32fpr		0
21362b34faSThomas Langer #define cpu_has_counter		1
22362b34faSThomas Langer #define cpu_has_watch		1
23362b34faSThomas Langer #define cpu_has_divec		1
24362b34faSThomas Langer 
25362b34faSThomas Langer #define cpu_has_prefetch	1
26362b34faSThomas Langer #define cpu_has_ejtag		1
27362b34faSThomas Langer #define cpu_has_llsc		1
28362b34faSThomas Langer 
29362b34faSThomas Langer #define cpu_has_mips16		1
30362b34faSThomas Langer #define cpu_has_mdmx		0
31362b34faSThomas Langer #define cpu_has_mips3d		0
32362b34faSThomas Langer #define cpu_has_smartmips	0
33362b34faSThomas Langer 
34362b34faSThomas Langer #define cpu_has_mips32r1	1
35362b34faSThomas Langer #define cpu_has_mips32r2	1
36362b34faSThomas Langer #define cpu_has_mips64r1	0
37362b34faSThomas Langer #define cpu_has_mips64r2	0
38362b34faSThomas Langer 
39362b34faSThomas Langer #define cpu_has_dsp		1
40362b34faSThomas Langer #define cpu_has_mipsmt		1
41362b34faSThomas Langer 
42362b34faSThomas Langer #define cpu_has_vint		1
43362b34faSThomas Langer #define cpu_has_veic		1
44362b34faSThomas Langer 
45362b34faSThomas Langer #define cpu_has_64bits		0
46362b34faSThomas Langer #define cpu_has_64bit_zero_reg	0
47362b34faSThomas Langer #define cpu_has_64bit_gp_regs	0
48362b34faSThomas Langer 
49362b34faSThomas Langer #define cpu_dcache_line_size()	32
50362b34faSThomas Langer #define cpu_icache_line_size()	32
51362b34faSThomas Langer 
52362b34faSThomas Langer #endif /* __ASM_MACH_FALCON_CPU_FEATURE_OVERRIDES_H */
53