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