MIPS: kernel: cpu-probe: Enable EVA option on supported cores
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
This commit is contained in:
parent
7ae6696656
commit
49016748ec
1 changed files with 3 additions and 0 deletions
|
@ -386,6 +386,9 @@ static inline unsigned int decode_config5(struct cpuinfo_mips *c)
|
||||||
config5 &= ~MIPS_CONF5_UFR;
|
config5 &= ~MIPS_CONF5_UFR;
|
||||||
write_c0_config5(config5);
|
write_c0_config5(config5);
|
||||||
|
|
||||||
|
if (config5 & MIPS_CONF5_EVA)
|
||||||
|
c->options |= MIPS_CPU_EVA;
|
||||||
|
|
||||||
return config5 & MIPS_CONF_M;
|
return config5 & MIPS_CONF_M;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue