MIPS: Octeon: Use model string from DTB for unknown board type
authorAaro Koskinen <aaro.koskinen@iki.fi>
Mon, 22 Feb 2016 22:22:57 +0000 (00:22 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:01:42 +0000 (14:01 +0200)
commit1a1590ab1a4a0898fe0a6809e5bcd7c225e3b4d6
tree1c636d1bb1edbd42f0b2cfc56fe7d47f8d7c90c8
parent8f2068bc9e875540b5fb372294095833651ea1e2
MIPS: Octeon: Use model string from DTB for unknown board type

Use model string from DTB for board type if the board is unknown.
This is more informative, e.g. with EdgeRouter Pro the /proc/cpuinfo
will display "ubnt,e200 (CN6120p1.1-1000-NSP)" instead of misleading
"Unsupported Board".

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: David Daney <ddaney.cavm@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12582/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/setup.c