diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-02-28 19:59:34 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-02-28 19:59:34 +0000 |
commit | 479b835df802a2ca6df7d5e8bb0e617022439dcb (patch) | |
tree | fad74ca14a43e29a3af36c9e878119c788ca3943 /target/linux | |
parent | cd2b8886d9772f77975949b38434147f01169692 (diff) | |
download | master-187ad058-479b835df802a2ca6df7d5e8bb0e617022439dcb.tar.gz master-187ad058-479b835df802a2ca6df7d5e8bb0e617022439dcb.tar.bz2 master-187ad058-479b835df802a2ca6df7d5e8bb0e617022439dcb.zip |
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@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44575 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/brcm63xx/patches-3.14/339-MIPS-BCM63XX-add-support-for-BCM63268.patch | 4 | ||||
-rw-r--r-- | target/linux/brcm63xx/patches-3.18/339-MIPS-BCM63XX-add-support-for-BCM63268.patch | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/brcm63xx/patches-3.14/339-MIPS-BCM63XX-add-support-for-BCM63268.patch b/target/linux/brcm63xx/patches-3.14/339-MIPS-BCM63XX-add-support-for-BCM63268.patch index 51f5d943db..9a0ee204fd 100644 --- a/target/linux/brcm63xx/patches-3.14/339-MIPS-BCM63XX-add-support-for-BCM63268.patch +++ b/target/linux/brcm63xx/patches-3.14/339-MIPS-BCM63XX-add-support-for-BCM63268.patch @@ -289,8 +289,8 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> 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; + diff --git a/target/linux/brcm63xx/patches-3.18/339-MIPS-BCM63XX-add-support-for-BCM63268.patch b/target/linux/brcm63xx/patches-3.18/339-MIPS-BCM63XX-add-support-for-BCM63268.patch index 7c424cc22a..22ceeea1c7 100644 --- a/target/linux/brcm63xx/patches-3.18/339-MIPS-BCM63XX-add-support-for-BCM63268.patch +++ b/target/linux/brcm63xx/patches-3.18/339-MIPS-BCM63XX-add-support-for-BCM63268.patch @@ -289,8 +289,8 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> 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; + |