Browse Source

brcm63xx: fix BCM63268 interrupt register locations for legacy probe

Legacy probe passed the IRQSTAT registers instead of the IRQMASK
registers causing all register accesses to be offset by 16 bytes.

Signed-off-by: Jonas Gorski <[email protected]>

SVN-Revision: 44575
Jonas Gorski 11 years ago
parent
commit
6df9324642

+ 2 - 2
target/linux/brcm63xx/patches-3.14/339-MIPS-BCM63XX-add-support-for-BCM63268.patch

@@ -289,8 +289,8 @@ Signed-off-by: Jonas Gorski <[email protected]>
  		ext_shift = 4;
  		break;
 +	case BCM63268_CPU_ID:
-+		periph_bases[0] += PERF_IRQSTAT_63268_REG(0);
-+		periph_bases[1] += PERF_IRQSTAT_63268_REG(1);
++		periph_bases[0] += PERF_IRQMASK_63268_REG(0);
++		periph_bases[1] += PERF_IRQMASK_63268_REG(1);
 +		periph_irq_count = 2;
 +		periph_width = 4;
 +

+ 2 - 2
target/linux/brcm63xx/patches-3.18/339-MIPS-BCM63XX-add-support-for-BCM63268.patch

@@ -289,8 +289,8 @@ Signed-off-by: Jonas Gorski <[email protected]>
  		ext_shift = 4;
  		break;
 +	case BCM63268_CPU_ID:
-+		periph_bases[0] += PERF_IRQSTAT_63268_REG(0);
-+		periph_bases[1] += PERF_IRQSTAT_63268_REG(1);
++		periph_bases[0] += PERF_IRQMASK_63268_REG(0);
++		periph_bases[1] += PERF_IRQMASK_63268_REG(1);
 +		periph_irq_count = 2;
 +		periph_width = 4;
 +