MIPS: Hardwire detection of DSP ASE Rev 2 for systems, as required.
Most supported systems currently hardwire cpu_has_dsp to 0, so we also can disable support for cpu_has_dsp2 resulting in a slightly smaller kernel. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
ee80f7c73d
commit
475032564e
19 changed files with 20 additions and 0 deletions
|
@ -42,6 +42,8 @@
|
||||||
#define cpu_has_mips64r1 0
|
#define cpu_has_mips64r1 0
|
||||||
#define cpu_has_mips64r2 0
|
#define cpu_has_mips64r2 0
|
||||||
|
|
||||||
|
#define cpu_has_dsp 0
|
||||||
|
#define cpu_has_dsp2 0
|
||||||
#define cpu_has_mipsmt 0
|
#define cpu_has_mipsmt 0
|
||||||
|
|
||||||
#define cpu_has_64bits 0
|
#define cpu_has_64bits 0
|
||||||
|
|
|
@ -37,6 +37,7 @@
|
||||||
#define cpu_has_mips64r1 0
|
#define cpu_has_mips64r1 0
|
||||||
#define cpu_has_mips64r2 0
|
#define cpu_has_mips64r2 0
|
||||||
#define cpu_has_dsp 0
|
#define cpu_has_dsp 0
|
||||||
|
#define cpu_has_dsp2 0
|
||||||
#define cpu_has_mipsmt 0
|
#define cpu_has_mipsmt 0
|
||||||
#define cpu_has_userlocal 0
|
#define cpu_has_userlocal 0
|
||||||
#define cpu_has_nofpuex 0
|
#define cpu_has_nofpuex 0
|
||||||
|
|
|
@ -37,6 +37,7 @@
|
||||||
#define cpu_has_mips64r2 0
|
#define cpu_has_mips64r2 0
|
||||||
|
|
||||||
#define cpu_has_dsp 0
|
#define cpu_has_dsp 0
|
||||||
|
#define cpu_has_dsp2 0
|
||||||
#define cpu_has_mipsmt 0
|
#define cpu_has_mipsmt 0
|
||||||
#define cpu_has_userlocal 0
|
#define cpu_has_userlocal 0
|
||||||
|
|
||||||
|
|
|
@ -53,6 +53,7 @@
|
||||||
#define cpu_has_mips64r2 1
|
#define cpu_has_mips64r2 1
|
||||||
#define cpu_has_mips_r2_exec_hazard 0
|
#define cpu_has_mips_r2_exec_hazard 0
|
||||||
#define cpu_has_dsp 0
|
#define cpu_has_dsp 0
|
||||||
|
#define cpu_has_dsp2 0
|
||||||
#define cpu_has_mipsmt 0
|
#define cpu_has_mipsmt 0
|
||||||
#define cpu_has_vint 0
|
#define cpu_has_vint 0
|
||||||
#define cpu_has_veic 0
|
#define cpu_has_veic 0
|
||||||
|
|
|
@ -45,6 +45,7 @@
|
||||||
#define cpu_has_ic_fills_f_dc 0
|
#define cpu_has_ic_fills_f_dc 0
|
||||||
#define cpu_icache_snoops_remote_store 0
|
#define cpu_icache_snoops_remote_store 0
|
||||||
#define cpu_has_dsp 0
|
#define cpu_has_dsp 0
|
||||||
|
#define cpu_has_dsp2 0
|
||||||
#define cpu_has_mipsmt 0
|
#define cpu_has_mipsmt 0
|
||||||
#define cpu_has_userlocal 0
|
#define cpu_has_userlocal 0
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
#define cpu_has_ic_fills_f_dc 0
|
#define cpu_has_ic_fills_f_dc 0
|
||||||
|
|
||||||
#define cpu_has_dsp 0
|
#define cpu_has_dsp 0
|
||||||
|
#define cpu_has_dsp2 0
|
||||||
#define cpu_has_mipsmt 0
|
#define cpu_has_mipsmt 0
|
||||||
#define cpu_has_userlocal 0
|
#define cpu_has_userlocal 0
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
#define cpu_has_dc_aliases 0
|
#define cpu_has_dc_aliases 0
|
||||||
#define cpu_has_ic_fills_f_dc 0
|
#define cpu_has_ic_fills_f_dc 0
|
||||||
#define cpu_has_dsp 0
|
#define cpu_has_dsp 0
|
||||||
|
#define cpu_has_dsp2 0
|
||||||
#define cpu_icache_snoops_remote_store 1
|
#define cpu_icache_snoops_remote_store 1
|
||||||
#define cpu_has_mipsmt 0
|
#define cpu_has_mipsmt 0
|
||||||
#define cpu_has_userlocal 0
|
#define cpu_has_userlocal 0
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#define cpu_has_dc_aliases 0 /* see probe_pcache() */
|
#define cpu_has_dc_aliases 0 /* see probe_pcache() */
|
||||||
#define cpu_has_ic_fills_f_dc 0
|
#define cpu_has_ic_fills_f_dc 0
|
||||||
#define cpu_has_dsp 0
|
#define cpu_has_dsp 0
|
||||||
|
#define cpu_has_dsp2 0
|
||||||
#define cpu_icache_snoops_remote_store 1
|
#define cpu_icache_snoops_remote_store 1
|
||||||
#define cpu_has_mipsmt 0
|
#define cpu_has_mipsmt 0
|
||||||
#define cpu_has_userlocal 0
|
#define cpu_has_userlocal 0
|
||||||
|
|
|
@ -37,6 +37,7 @@
|
||||||
#define cpu_has_vtag_icache 0
|
#define cpu_has_vtag_icache 0
|
||||||
#define cpu_has_ic_fills_f_dc 0
|
#define cpu_has_ic_fills_f_dc 0
|
||||||
#define cpu_has_dsp 0
|
#define cpu_has_dsp 0
|
||||||
|
#define cpu_has_dsp2 0
|
||||||
#define cpu_has_4k_cache 1
|
#define cpu_has_4k_cache 1
|
||||||
#define cpu_has_mipsmt 0
|
#define cpu_has_mipsmt 0
|
||||||
#define cpu_has_userlocal 0
|
#define cpu_has_userlocal 0
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
#define cpu_has_mips64r1 0
|
#define cpu_has_mips64r1 0
|
||||||
#define cpu_has_mips64r2 0
|
#define cpu_has_mips64r2 0
|
||||||
#define cpu_has_dsp 0
|
#define cpu_has_dsp 0
|
||||||
|
#define cpu_has_dsp2 0
|
||||||
#define cpu_has_mipsmt 0
|
#define cpu_has_mipsmt 0
|
||||||
#define cpu_has_userlocal 0
|
#define cpu_has_userlocal 0
|
||||||
#define cpu_has_nofpuex 0
|
#define cpu_has_nofpuex 0
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
#define cpu_has_dc_aliases (PAGE_SIZE < 0x4000)
|
#define cpu_has_dc_aliases (PAGE_SIZE < 0x4000)
|
||||||
#define cpu_has_divec 0
|
#define cpu_has_divec 0
|
||||||
#define cpu_has_dsp 0
|
#define cpu_has_dsp 0
|
||||||
|
#define cpu_has_dsp2 0
|
||||||
#define cpu_has_ejtag 0
|
#define cpu_has_ejtag 0
|
||||||
#define cpu_has_fpu 1
|
#define cpu_has_fpu 1
|
||||||
#define cpu_has_ic_fills_f_dc 0
|
#define cpu_has_ic_fills_f_dc 0
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
#define cpu_has_vtag_icache 0
|
#define cpu_has_vtag_icache 0
|
||||||
#define cpu_has_ic_fills_f_dc 1
|
#define cpu_has_ic_fills_f_dc 1
|
||||||
#define cpu_has_dsp 0
|
#define cpu_has_dsp 0
|
||||||
|
#define cpu_has_dsp2 0
|
||||||
#define cpu_has_mipsmt 0
|
#define cpu_has_mipsmt 0
|
||||||
#define cpu_icache_snoops_remote_store 1
|
#define cpu_icache_snoops_remote_store 1
|
||||||
|
|
||||||
|
|
|
@ -45,6 +45,7 @@
|
||||||
#define cpu_has_mips64r1 0
|
#define cpu_has_mips64r1 0
|
||||||
#define cpu_has_mips64r2 0
|
#define cpu_has_mips64r2 0
|
||||||
#define cpu_has_dsp 0
|
#define cpu_has_dsp 0
|
||||||
|
#define cpu_has_dsp2 0
|
||||||
#define cpu_has_mipsmt 0
|
#define cpu_has_mipsmt 0
|
||||||
#define cpu_has_userlocal 0
|
#define cpu_has_userlocal 0
|
||||||
#define cpu_has_nofpuex 0
|
#define cpu_has_nofpuex 0
|
||||||
|
|
|
@ -60,6 +60,7 @@
|
||||||
#define cpu_has_mips64r2 0
|
#define cpu_has_mips64r2 0
|
||||||
|
|
||||||
#define cpu_has_dsp 0
|
#define cpu_has_dsp 0
|
||||||
|
#define cpu_has_dsp2 0
|
||||||
#define cpu_has_mipsmt 0
|
#define cpu_has_mipsmt 0
|
||||||
|
|
||||||
/* #define cpu_has_nofpuex ? */
|
/* #define cpu_has_nofpuex ? */
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
#define cpu_has_dc_aliases (PAGE_SIZE < 0x4000)
|
#define cpu_has_dc_aliases (PAGE_SIZE < 0x4000)
|
||||||
#define cpu_has_ic_fills_f_dc 0
|
#define cpu_has_ic_fills_f_dc 0
|
||||||
#define cpu_has_dsp 0
|
#define cpu_has_dsp 0
|
||||||
|
#define cpu_has_dsp2 0
|
||||||
#define cpu_has_nofpuex 0
|
#define cpu_has_nofpuex 0
|
||||||
#define cpu_has_64bits 1
|
#define cpu_has_64bits 1
|
||||||
#define cpu_has_mipsmt 0
|
#define cpu_has_mipsmt 0
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
#define cpu_has_dc_aliases 0
|
#define cpu_has_dc_aliases 0
|
||||||
#define cpu_has_ic_fills_f_dc 0
|
#define cpu_has_ic_fills_f_dc 0
|
||||||
#define cpu_has_dsp 0
|
#define cpu_has_dsp 0
|
||||||
|
#define cpu_has_dsp2 0
|
||||||
#define cpu_has_mipsmt 0
|
#define cpu_has_mipsmt 0
|
||||||
#define cpu_has_userlocal 0
|
#define cpu_has_userlocal 0
|
||||||
#define cpu_icache_snoops_remote_store 0
|
#define cpu_icache_snoops_remote_store 0
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
#define cpu_has_vtag_icache 0
|
#define cpu_has_vtag_icache 0
|
||||||
#define cpu_has_ic_fills_f_dc 0
|
#define cpu_has_ic_fills_f_dc 0
|
||||||
#define cpu_has_dsp 0
|
#define cpu_has_dsp 0
|
||||||
|
#define cpu_has_dsp2 0
|
||||||
#define cpu_has_mipsmt 0
|
#define cpu_has_mipsmt 0
|
||||||
#define cpu_has_userlocal 0
|
#define cpu_has_userlocal 0
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
#define cpu_has_dc_aliases 0
|
#define cpu_has_dc_aliases 0
|
||||||
#define cpu_has_ic_fills_f_dc 0
|
#define cpu_has_ic_fills_f_dc 0
|
||||||
#define cpu_has_dsp 0
|
#define cpu_has_dsp 0
|
||||||
|
#define cpu_has_dsp2 0
|
||||||
#define cpu_has_mipsmt 0
|
#define cpu_has_mipsmt 0
|
||||||
#define cpu_has_userlocal 0
|
#define cpu_has_userlocal 0
|
||||||
#define cpu_icache_snoops_remote_store 0
|
#define cpu_icache_snoops_remote_store 0
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
|
|
||||||
#define cpu_has_mips16 1
|
#define cpu_has_mips16 1
|
||||||
#define cpu_has_dsp 1
|
#define cpu_has_dsp 1
|
||||||
|
/* #define cpu_has_dsp2 ??? - do runtime detection */
|
||||||
#define cpu_has_mipsmt 1
|
#define cpu_has_mipsmt 1
|
||||||
#define cpu_has_fpu 0
|
#define cpu_has_fpu 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue