blob: 4cec06d133db238b785816bb9c0488e7caf3cd15 [file] [log] [blame]
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +01001/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 2003 Ralf Baechle
7 * 6/2004 pf
8 */
9#ifndef __ASM_MACH_IP28_CPU_FEATURE_OVERRIDES_H
10#define __ASM_MACH_IP28_CPU_FEATURE_OVERRIDES_H
11
Ralf Baechle69f24d12013-09-17 10:25:47 +020012#include <asm/cpu.h>
13
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +010014/*
15 * IP28 only comes with R10000 family processors all using the same config
16 */
17#define cpu_has_watch 1
18#define cpu_has_mips16 0
19#define cpu_has_divec 0
20#define cpu_has_vce 0
21#define cpu_has_cache_cdex_p 0
22#define cpu_has_cache_cdex_s 0
23#define cpu_has_prefetch 1
24#define cpu_has_mcheck 0
25#define cpu_has_ejtag 0
26
27#define cpu_has_llsc 1
28#define cpu_has_vtag_icache 0
29#define cpu_has_dc_aliases 0 /* see probe_pcache() */
30#define cpu_has_ic_fills_f_dc 0
31#define cpu_has_dsp 0
Ralf Baechle47503252012-08-20 16:25:14 +020032#define cpu_has_dsp2 0
Ralf Baechle70342282013-01-22 12:59:30 +010033#define cpu_icache_snoops_remote_store 1
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +010034#define cpu_has_mipsmt 0
35#define cpu_has_userlocal 0
36
37#define cpu_has_nofpuex 0
38#define cpu_has_64bits 1
39
40#define cpu_has_4kex 1
41#define cpu_has_4k_cache 1
42
43#define cpu_has_inclusive_pcaches 1
44
45#define cpu_dcache_line_size() 32
46#define cpu_icache_line_size() 64
47
48#define cpu_has_mips32r1 0
49#define cpu_has_mips32r2 0
50#define cpu_has_mips64r1 0
51#define cpu_has_mips64r2 0
52
53#endif /* __ASM_MACH_IP28_CPU_FEATURE_OVERRIDES_H */