MIPS: Netlogic: Get coremask from FUSE register
authorJayachandran C <jchandra@broadcom.com>
Sat, 21 Dec 2013 11:22:18 +0000 (16:52 +0530)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 24 Jan 2014 21:39:47 +0000 (22:39 +0100)
commitdb038feedd9a5c83851d2f5aa6a84ff800da8ccb
treea7ee7db1a8e217221acdf10571c7a542d2a19b73
parentcfec4c63f5034160ab4a4654c05dd6241f51b282
MIPS: Netlogic: Get coremask from FUSE register

Use the FUSE register to get the list of active cores in the CPU
instead of using the CPU reset register, this is the recommended
method.

Also add code to mask the coremask with the default number of cores
for each processor series.

Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6275/
arch/mips/netlogic/xlp/wakeup.c