summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/patches-3.6/237-bcma-bcm4716-bcm4748-i2s-irqflag.patch
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-06-12 14:48:45 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-06-12 14:48:45 +0000
commite5f117dedbb4a805c16583b0aed600cfd16cd3d9 (patch)
treefa2bbc1953db33ea6b97ff260251a4ffb117c776 /target/linux/brcm47xx/patches-3.6/237-bcma-bcm4716-bcm4748-i2s-irqflag.patch
parentdc08718d7bf4068b29f50c3d2a57e0c2e2501e61 (diff)
brcm47xx: remove support for kernel 3.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36927 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-3.6/237-bcma-bcm4716-bcm4748-i2s-irqflag.patch')
-rw-r--r--target/linux/brcm47xx/patches-3.6/237-bcma-bcm4716-bcm4748-i2s-irqflag.patch54
1 files changed, 0 insertions, 54 deletions
diff --git a/target/linux/brcm47xx/patches-3.6/237-bcma-bcm4716-bcm4748-i2s-irqflag.patch b/target/linux/brcm47xx/patches-3.6/237-bcma-bcm4716-bcm4748-i2s-irqflag.patch
deleted file mode 100644
index d77050d2e9..0000000000
--- a/target/linux/brcm47xx/patches-3.6/237-bcma-bcm4716-bcm4748-i2s-irqflag.patch
+++ /dev/null
@@ -1,54 +0,0 @@
---- a/include/linux/bcma/bcma_driver_mips.h
-+++ b/include/linux/bcma/bcma_driver_mips.h
-@@ -28,6 +28,7 @@
- #define BCMA_MIPS_MIPS74K_GPIOEN 0x0048
- #define BCMA_MIPS_MIPS74K_CLKCTLST 0x01E0
-
-+#define BCMA_MIPS_OOBSELINA74 0x004
- #define BCMA_MIPS_OOBSELOUTA30 0x100
-
- struct bcma_device;
---- a/drivers/bcma/driver_mips.c
-+++ b/drivers/bcma/driver_mips.c
-@@ -273,6 +273,32 @@ void bcma_core_mips_early_init(struct bc
- mcore->early_setup_done = true;
- }
-
-+static void bcma_fix_i2s_irqflag(struct bcma_bus *bus)
-+{
-+ struct bcma_device *cpu, *pcie, *i2s;
-+
-+ /* Fixup the interrupts in 4716/4748 for i2s core (2010 Broadcom SDK)
-+ * (IRQ flags > 7 are ignored when setting the interrupt masks)
-+ */
-+ if (bus->chipinfo.id != BCMA_CHIP_ID_BCM4716 &&
-+ bus->chipinfo.id != BCMA_CHIP_ID_BCM4748)
-+ return;
-+
-+ cpu = bcma_find_core(bus, BCMA_CORE_MIPS_74K);
-+ pcie = bcma_find_core(bus, BCMA_CORE_PCIE);
-+ i2s = bcma_find_core(bus, BCMA_CORE_I2S);
-+ if ((cpu && pcie && i2s) &&
-+ (bcma_aread32(cpu, BCMA_MIPS_OOBSELINA74) == 0x08060504 &&
-+ bcma_aread32(pcie, BCMA_MIPS_OOBSELINA74) == 0x08060504 &&
-+ bcma_aread32(i2s, BCMA_MIPS_OOBSELOUTA30) == 0x88)) {
-+ bcma_awrite32(cpu, BCMA_MIPS_OOBSELINA74, 0x07060504);
-+ bcma_awrite32(pcie, BCMA_MIPS_OOBSELINA74, 0x07060504);
-+ bcma_awrite32(i2s, BCMA_MIPS_OOBSELOUTA30, 0x87);
-+ bcma_info(bus,
-+ "Moved i2s interrupt to oob line 7 instead of 8\n");
-+ }
-+}
-+
- void bcma_core_mips_init(struct bcma_drv_mips *mcore)
- {
- struct bcma_bus *bus;
-@@ -286,6 +312,8 @@ void bcma_core_mips_init(struct bcma_drv
-
- bcma_core_mips_early_init(mcore);
-
-+ bcma_fix_i2s_irqflag(bus);
-+
- switch (bus->chipinfo.id) {
- case BCMA_CHIP_ID_BCM4716:
- case BCMA_CHIP_ID_BCM4748: