Fix cut'n'paste code. cfg3 should get the value of selector 3

Spotted by: thompa@
This commit is contained in:
Oleksandr Tymoshenko 2009-04-24 05:28:44 +00:00
parent 709410480c
commit ffb90c259e

View File

@ -242,7 +242,7 @@ cpu_identify(void)
/* If config register selection 3 does not exist, exit. */
if (!(cfg2 & MIPS3_CONFIG_CM))
return;
cfg3 = mips_rd_config_sel2();
cfg3 = mips_rd_config_sel3();
/* Print Config3 if it contains any useful info */
if (cfg3 & ~(0x80000000))