Changeset 44575


Ignore:
Timestamp:
2015-02-28T20:59:34+01:00 (3 years ago)
Author:
jogo
Message:

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 <jogo@…>

Location:
trunk/target/linux/brcm63xx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm63xx/patches-3.14/339-MIPS-BCM63XX-add-support-for-BCM63268.patch

    r44566 r44575  
    290290                break; 
    291291+       case BCM63268_CPU_ID: 
    292 +               periph_bases[0] += PERF_IRQSTAT_63268_REG(0); 
    293 +               periph_bases[1] += PERF_IRQSTAT_63268_REG(1); 
     292+               periph_bases[0] += PERF_IRQMASK_63268_REG(0); 
     293+               periph_bases[1] += PERF_IRQMASK_63268_REG(1); 
    294294+               periph_irq_count = 2; 
    295295+               periph_width = 4; 
  • trunk/target/linux/brcm63xx/patches-3.18/339-MIPS-BCM63XX-add-support-for-BCM63268.patch

    r44566 r44575  
    290290                break; 
    291291+       case BCM63268_CPU_ID: 
    292 +               periph_bases[0] += PERF_IRQSTAT_63268_REG(0); 
    293 +               periph_bases[1] += PERF_IRQSTAT_63268_REG(1); 
     292+               periph_bases[0] += PERF_IRQMASK_63268_REG(0); 
     293+               periph_bases[1] += PERF_IRQMASK_63268_REG(1); 
    294294+               periph_irq_count = 2; 
    295295+               periph_width = 4; 
Note: See TracChangeset for help on using the changeset viewer.