blob: 1bcb6421205e3d92913a93f7dcdb04c726c0f447 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
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 *
Ralf Baechle798d9022007-07-13 18:54:10 +01006 * Copyright (C) 2003, 07 Ralf Baechle
Linus Torvalds1da177e2005-04-16 15:20:36 -07007 */
8#ifndef __ASM_MACH_IP22_CPU_FEATURE_OVERRIDES_H
9#define __ASM_MACH_IP22_CPU_FEATURE_OVERRIDES_H
10
Ralf Baechle69f24d12013-09-17 10:25:47 +020011#include <asm/cpu.h>
12
Linus Torvalds1da177e2005-04-16 15:20:36 -070013/*
14 * IP22 with a variety of processors so we can't use defaults for everything.
15 */
Thiemo Seufer65dd7022005-09-01 09:02:08 +000016#define cpu_has_tlb 1
17#define cpu_has_4kex 1
Kumbac3b1c2d2006-06-18 02:17:01 -040018#define cpu_has_4k_cache 1
Thiemo Seufer65dd7022005-09-01 09:02:08 +000019#define cpu_has_fpu 1
20#define cpu_has_32fpr 1
21#define cpu_has_counter 1
Linus Torvalds1da177e2005-04-16 15:20:36 -070022#define cpu_has_mips16 0
23#define cpu_has_divec 0
24#define cpu_has_cache_cdex_p 1
25#define cpu_has_prefetch 0
26#define cpu_has_mcheck 0
27#define cpu_has_ejtag 0
28
29#define cpu_has_llsc 1
30#define cpu_has_vtag_icache 0 /* Needs to change for R8000 */
31#define cpu_has_dc_aliases (PAGE_SIZE < 0x4000)
32#define cpu_has_ic_fills_f_dc 0
33
Ralf Baechlee50c0a82005-05-31 11:49:19 +000034#define cpu_has_dsp 0
Ralf Baechle47503252012-08-20 16:25:14 +020035#define cpu_has_dsp2 0
Ralf Baechle798d9022007-07-13 18:54:10 +010036#define cpu_has_mipsmt 0
Ralf Baechleed203da2007-07-13 18:58:25 +010037#define cpu_has_userlocal 0
Ralf Baechlee50c0a82005-05-31 11:49:19 +000038
Linus Torvalds1da177e2005-04-16 15:20:36 -070039#define cpu_has_nofpuex 0
40#define cpu_has_64bits 1
41
Ralf Baechleb4672d32005-12-08 14:04:24 +000042#define cpu_has_mips32r1 0
43#define cpu_has_mips32r2 0
44#define cpu_has_mips64r1 0
45#define cpu_has_mips64r2 0
46
Linus Torvalds1da177e2005-04-16 15:20:36 -070047#endif /* __ASM_MACH_IP22_CPU_FEATURE_OVERRIDES_H */