Skip to contentSkip to conversation

MIPS: malta: Update GCMP detection.

PATCH New Steven J. Hill 1 participant 1 message Jun 20, 2013 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 MIPS: malta: Update GCMP detection.

From: Leonid Yegoshin <[email protected]>

Add GCMP detection for IASim Marvell chip emulation support.

---
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
index 0a1339a..c69da37 100644
@@ -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