MIPS: kernel: cpu-probe: Enable EVA option on supported cores

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
This commit is contained in:
Markos Chandras 2014-01-09 16:04:51 +00:00 committed by Ralf Baechle
parent 7ae6696656
commit 49016748ec
1 changed files with 3 additions and 0 deletions

View File

@ -386,6 +386,9 @@ static inline unsigned int decode_config5(struct cpuinfo_mips *c)
config5 &= ~MIPS_CONF5_UFR;
write_c0_config5(config5);
if (config5 & MIPS_CONF5_EVA)
c->options |= MIPS_CPU_EVA;
return config5 & MIPS_CONF_M;
}