18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public 38c2ecf20Sopenharmony_ci * License. See the file "COPYING" in the main directory of this archive 48c2ecf20Sopenharmony_ci * for more details. 58c2ecf20Sopenharmony_ci * 68c2ecf20Sopenharmony_ci * Copyright (C) 2006, 07 Ralf Baechle (ralf@linux-mips.org) 78c2ecf20Sopenharmony_ci */ 88c2ecf20Sopenharmony_ci#ifndef __ASM_COBALT_CPU_FEATURE_OVERRIDES_H 98c2ecf20Sopenharmony_ci#define __ASM_COBALT_CPU_FEATURE_OVERRIDES_H 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#define cpu_has_tlb 1 138c2ecf20Sopenharmony_ci#define cpu_has_4kex 1 148c2ecf20Sopenharmony_ci#define cpu_has_3k_cache 0 158c2ecf20Sopenharmony_ci#define cpu_has_4k_cache 1 168c2ecf20Sopenharmony_ci#define cpu_has_tx39_cache 0 178c2ecf20Sopenharmony_ci#define cpu_has_32fpr 1 188c2ecf20Sopenharmony_ci#define cpu_has_counter 1 198c2ecf20Sopenharmony_ci#define cpu_has_watch 0 208c2ecf20Sopenharmony_ci#define cpu_has_divec 1 218c2ecf20Sopenharmony_ci#define cpu_has_vce 0 228c2ecf20Sopenharmony_ci#define cpu_has_cache_cdex_p 0 238c2ecf20Sopenharmony_ci#define cpu_has_cache_cdex_s 0 248c2ecf20Sopenharmony_ci#define cpu_has_prefetch 0 258c2ecf20Sopenharmony_ci#define cpu_has_mcheck 0 268c2ecf20Sopenharmony_ci#define cpu_has_ejtag 0 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci#define cpu_has_inclusive_pcaches 0 298c2ecf20Sopenharmony_ci#define cpu_dcache_line_size() 32 308c2ecf20Sopenharmony_ci#define cpu_icache_line_size() 32 318c2ecf20Sopenharmony_ci#define cpu_scache_line_size() 0 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ci#ifdef CONFIG_64BIT 348c2ecf20Sopenharmony_ci#define cpu_has_llsc 0 358c2ecf20Sopenharmony_ci#else 368c2ecf20Sopenharmony_ci#define cpu_has_llsc 1 378c2ecf20Sopenharmony_ci#endif 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ci#define cpu_has_mips16 0 408c2ecf20Sopenharmony_ci#define cpu_has_mips16e2 0 418c2ecf20Sopenharmony_ci#define cpu_has_mdmx 0 428c2ecf20Sopenharmony_ci#define cpu_has_mips3d 0 438c2ecf20Sopenharmony_ci#define cpu_has_smartmips 0 448c2ecf20Sopenharmony_ci#define cpu_has_vtag_icache 0 458c2ecf20Sopenharmony_ci#define cpu_has_ic_fills_f_dc 0 468c2ecf20Sopenharmony_ci#define cpu_icache_snoops_remote_store 0 478c2ecf20Sopenharmony_ci#define cpu_has_dsp 0 488c2ecf20Sopenharmony_ci#define cpu_has_dsp2 0 498c2ecf20Sopenharmony_ci#define cpu_has_mipsmt 0 508c2ecf20Sopenharmony_ci#define cpu_has_userlocal 0 518c2ecf20Sopenharmony_ci 528c2ecf20Sopenharmony_ci#define cpu_has_mips32r1 0 538c2ecf20Sopenharmony_ci#define cpu_has_mips32r2 0 548c2ecf20Sopenharmony_ci#define cpu_has_mips64r1 0 558c2ecf20Sopenharmony_ci#define cpu_has_mips64r2 0 568c2ecf20Sopenharmony_ci 578c2ecf20Sopenharmony_ci#endif /* __ASM_COBALT_CPU_FEATURE_OVERRIDES_H */ 58