MIPS: malta: Update GCMP detection.
PATCH v2 1/1 MIPS: malta: Update GCMP detection.
From: Leonid Yegoshin <[email protected]>
Add GCMP detection for IASim Marvell chip emulation support.
Signed-off-by Leonid Yegoshin <[email protected]>
Acked-by Steven J. Hill <[email protected]>
---
Changes in v2: Remove internal gerrit ID from commit message.
arch/mips/mti-malta/malta-int.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
arch/mips/mti-malta/malta-int.c +3 -1
@@ -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; }
Signature · 1 line
1.7.2.5