mips: Fix CPC_BASE_ADDR mask to match datasheet
authorNikolay Martynov <mar.kolya@gmail.com>
Tue, 8 Dec 2015 18:27:02 +0000 (13:27 -0500)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 9 May 2016 10:00:00 +0000 (12:00 +0200)
commite03ac9f0c3f5f2e79c41fd02d9b90831dfd78a2e
treec4fd844d263bcf7355ee3edad482ad4188fd07eb
parent44549e8f5eea4e0a41b487b63e616cb089922b99
mips: Fix CPC_BASE_ADDR mask to match datasheet

According to 'MIPS32® interAptivTM Multiprocessing
System Programmer’s Guide' CPC_BASE_ADDR takes bits [31:15].

This change is tested ith mt7621 which wasn't working without it.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
Reviewed-by: James Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11766/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mips-cm.h