Ralf Baechle cea7e2dfde MIPS: Sort out CPU type to name translation.
As noticed by David Daney <ddaney@caviumnetworks.com>, the old long switch
statement did not comply with the Linux C coding style.  It was also yet
another place of code to be changed when adding a new processor type
leading to annoying bugs for example in /proc/cpuinfo.

Fixed by moving the setting of the CPU type string into the core of the
probing code and a few BUG_ON() test to ensure the CPU probing code indeed
did its job and removing multiple now redundant tests.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2008-10-30 14:44:34 +00:00
..
2008-05-01 08:03:58 -07:00
2008-05-01 08:03:58 -07:00
2007-07-13 17:40:01 +01:00
2007-10-11 23:46:04 +01:00
2006-12-10 21:52:11 +00:00
2008-10-11 16:18:41 +01:00
2008-10-03 17:58:58 +01:00
2008-04-28 17:14:23 +01:00
2008-05-18 15:43:40 -06:00