提交 78276207 编写于 作者: L Leonid Yegoshin 提交者: Ralf Baechle

MIPS: Malta: Update GCMP detection.

Add GCMP detection for IASim Marvell chip emulation support.
Signed-off-by: NLeonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Acked-by: NSteven J. Hill <Steven.Hill@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Patchwork: https://patchwork.linux-mips.org/patch/5529/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 ed3ce16c
......@@ -422,8 +422,10 @@ static struct gic_intr_map gic_intr_map[GIC_NUM_INTRS] = {
*/
int __init gcmp_probe(unsigned long addr, unsigned long size)
{
if (mips_revision_sconid != MIPS_REVISION_SCON_ROCIT) {
if ((mips_revision_sconid != MIPS_REVISION_SCON_ROCIT) &&
(mips_revision_sconid != MIPS_REVISION_SCON_GT64120)) {
gcmp_present = 0;
pr_debug("GCMP NOT present\n");
return gcmp_present;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册