MIPS: Allow FTLB to be turned on for CPU_P5600
authorJames Hogan <james.hogan@imgtec.com>
Wed, 22 Jan 2014 16:19:40 +0000 (16:19 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:11 +0000 (23:09 +0100)
commitd83b0e82ad055920fb7f05f85b9466d97b7182db
treeb6caeac2222d6e76d53727b004c465d4b9ac4b45
parent829dcc0a956a2317631873d946b5a5c2b0bf53ee
MIPS: Allow FTLB to be turned on for CPU_P5600

Allow FTLB to be turned on or off for CPU_P5600 as well as CPU_PROAPTIV.
The existing if statement is converted into a switch to allow for future
expansion.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Reviewed-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6411/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/cpu-probe.c