MIPS: malta: Update GCMP detection.
PATCH 1/1 MIPS: malta: Update GCMP detection.
From: Leonid Yegoshin <[email protected]>
Add GCMP detection for IASim Marvell chip emulation support.
Change-Id I4a39fbc52bc55d7b3fe48340bc5c746395552e1f
Signed-off-by Leonid Yegoshin <[email protected]>
Acked-by Steven J. Hill <[email protected]>
--- 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
Quoted 5 lines · Steven J. Hill
From: Leonid Yegoshin <[email protected]>
Add GCMP detection for IASim Marvell chip emulation support.
Change-Id: I4a39fbc52bc55d7b3fe48340bc5c746395552e1f
Same comment on this line as on linux-ide just now. Remove it please.
Quoted 2 lines
Signed-off-by Leonid Yegoshin <[email protected]>Acked-by Steven J. Hill <[email protected]>
WBR, Sergei