Skip to content

Commit

Permalink
MIPS: Malta: Update GCMP detection.
Browse files Browse the repository at this point in the history
Add GCMP detection for IASim Marvell chip emulation support.

Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Acked-by: Steven 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: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Leonid Yegoshin authored and Ralf Baechle committed Jul 1, 2013
1 parent ed3ce16 commit 7827620
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/mips/mti-malta/malta-int.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 7827620

Please sign in to comment.