Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2493921c authored by Kumba's avatar Kumba Committed by Ralf Baechle
Browse files

[MIPS] Add Missing R4K Cache Macros to IP27 & IP32



Keeping in accordance with other machines, IP27 and IP32 lack a few
macros.  IP27 lacks cpu_has_4kex & cpu_has_4k_cache macros while IP32
lacks just the cpu_has_4k_cache macro.

Signed-off-by: default avatarJoshua Kinard <kumba@gentoo.org>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 35189fad
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -31,6 +31,9 @@
#define cpu_has_nofpuex		0
#define cpu_has_nofpuex		0
#define cpu_has_64bits		1
#define cpu_has_64bits		1


#define cpu_has_4kex		1
#define cpu_has_4k_cache	1

#define cpu_has_subset_pcaches	1
#define cpu_has_subset_pcaches	1


#define cpu_dcache_line_size()	32
#define cpu_dcache_line_size()	32
+2 −0
Original line number Original line Diff line number Diff line
@@ -38,6 +38,8 @@
#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_4k_cache	1



#define cpu_has_mips32r1	0
#define cpu_has_mips32r1	0
#define cpu_has_mips32r2	0
#define cpu_has_mips32r2	0