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-10-20 08:52:41 -07:00
2008-10-16 11:21:47 -07:00
2008-04-28 17:14:25 +01:00
2008-10-15 20:55:51 +02:00
2008-10-20 08:52:41 -07:00
2008-10-20 08:52:41 -07:00
2008-10-30 14:44:33 +00:00
2008-10-27 16:18:29 +00:00