18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Lantiq FALCON specific CPU feature overrides 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (C) 2013 Thomas Langer, Lantiq Deutschland 68c2ecf20Sopenharmony_ci * 78c2ecf20Sopenharmony_ci * This file was derived from: include/asm-mips/cpu-features.h 88c2ecf20Sopenharmony_ci * Copyright (C) 2003, 2004 Ralf Baechle 98c2ecf20Sopenharmony_ci * Copyright (C) 2004 Maciej W. Rozycki 108c2ecf20Sopenharmony_ci */ 118c2ecf20Sopenharmony_ci#ifndef __ASM_MACH_FALCON_CPU_FEATURE_OVERRIDES_H 128c2ecf20Sopenharmony_ci#define __ASM_MACH_FALCON_CPU_FEATURE_OVERRIDES_H 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci#define cpu_has_tlb 1 158c2ecf20Sopenharmony_ci#define cpu_has_4kex 1 168c2ecf20Sopenharmony_ci#define cpu_has_3k_cache 0 178c2ecf20Sopenharmony_ci#define cpu_has_4k_cache 1 188c2ecf20Sopenharmony_ci#define cpu_has_tx39_cache 0 198c2ecf20Sopenharmony_ci#define cpu_has_sb1_cache 0 208c2ecf20Sopenharmony_ci#define cpu_has_fpu 0 218c2ecf20Sopenharmony_ci#define cpu_has_32fpr 0 228c2ecf20Sopenharmony_ci#define cpu_has_counter 1 238c2ecf20Sopenharmony_ci#define cpu_has_watch 1 248c2ecf20Sopenharmony_ci#define cpu_has_divec 1 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci#define cpu_has_prefetch 1 278c2ecf20Sopenharmony_ci#define cpu_has_ejtag 1 288c2ecf20Sopenharmony_ci#define cpu_has_llsc 1 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci#define cpu_has_mips16 1 318c2ecf20Sopenharmony_ci#define cpu_has_mdmx 0 328c2ecf20Sopenharmony_ci#define cpu_has_mips3d 0 338c2ecf20Sopenharmony_ci#define cpu_has_smartmips 0 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ci#define cpu_has_mips32r1 1 368c2ecf20Sopenharmony_ci#define cpu_has_mips32r2 1 378c2ecf20Sopenharmony_ci#define cpu_has_mips64r1 0 388c2ecf20Sopenharmony_ci#define cpu_has_mips64r2 0 398c2ecf20Sopenharmony_ci 408c2ecf20Sopenharmony_ci#define cpu_has_dsp 1 418c2ecf20Sopenharmony_ci#define cpu_has_mipsmt 1 428c2ecf20Sopenharmony_ci 438c2ecf20Sopenharmony_ci#define cpu_has_vint 1 448c2ecf20Sopenharmony_ci#define cpu_has_veic 1 458c2ecf20Sopenharmony_ci 468c2ecf20Sopenharmony_ci#define cpu_has_64bits 0 478c2ecf20Sopenharmony_ci#define cpu_has_64bit_zero_reg 0 488c2ecf20Sopenharmony_ci#define cpu_has_64bit_gp_regs 0 498c2ecf20Sopenharmony_ci 508c2ecf20Sopenharmony_ci#define cpu_dcache_line_size() 32 518c2ecf20Sopenharmony_ci#define cpu_icache_line_size() 32 528c2ecf20Sopenharmony_ci 538c2ecf20Sopenharmony_ci#endif /* __ASM_MACH_FALCON_CPU_FEATURE_OVERRIDES_H */ 54