Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Broadcom specific AMBA |
| 3 | * Broadcom MIPS32 74K core driver |
| 4 | * |
| 5 | * Copyright 2009, Broadcom Corporation |
| 6 | * Copyright 2006, 2007, Michael Buesch <mb@bu3sch.de> |
| 7 | * Copyright 2010, Bernhard Loos <bernhardloos@googlemail.com> |
| 8 | * Copyright 2011, Hauke Mehrtens <hauke@hauke-m.de> |
| 9 | * |
| 10 | * Licensed under the GNU/GPL. See COPYING for details. |
| 11 | */ |
| 12 | |
| 13 | #include "bcma_private.h" |
| 14 | |
| 15 | #include <linux/bcma/bcma.h> |
| 16 | |
| 17 | #include <linux/serial.h> |
| 18 | #include <linux/serial_core.h> |
| 19 | #include <linux/serial_reg.h> |
| 20 | #include <linux/time.h> |
| 21 | |
| 22 | /* The 47162a0 hangs when reading MIPS DMP registers registers */ |
| 23 | static inline bool bcma_core_mips_bcm47162a0_quirk(struct bcma_device *dev) |
| 24 | { |
Hauke Mehrtens | 4b4f5be | 2012-06-30 01:44:38 +0200 | [diff] [blame] | 25 | return dev->bus->chipinfo.id == BCMA_CHIP_ID_BCM47162 && |
| 26 | dev->bus->chipinfo.rev == 0 && dev->id.id == BCMA_CORE_MIPS_74K; |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 27 | } |
| 28 | |
| 29 | /* The 5357b0 hangs when reading USB20H DMP registers */ |
| 30 | static inline bool bcma_core_mips_bcm5357b0_quirk(struct bcma_device *dev) |
| 31 | { |
Hauke Mehrtens | 4b4f5be | 2012-06-30 01:44:38 +0200 | [diff] [blame] | 32 | return (dev->bus->chipinfo.id == BCMA_CHIP_ID_BCM5357 || |
| 33 | dev->bus->chipinfo.id == BCMA_CHIP_ID_BCM4749) && |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 34 | dev->bus->chipinfo.pkg == 11 && |
| 35 | dev->id.id == BCMA_CORE_USB20_HOST; |
| 36 | } |
| 37 | |
| 38 | static inline u32 mips_read32(struct bcma_drv_mips *mcore, |
| 39 | u16 offset) |
| 40 | { |
| 41 | return bcma_read32(mcore->core, offset); |
| 42 | } |
| 43 | |
| 44 | static inline void mips_write32(struct bcma_drv_mips *mcore, |
| 45 | u16 offset, |
| 46 | u32 value) |
| 47 | { |
| 48 | bcma_write32(mcore->core, offset, value); |
| 49 | } |
| 50 | |
| 51 | static const u32 ipsflag_irq_mask[] = { |
| 52 | 0, |
| 53 | BCMA_MIPS_IPSFLAG_IRQ1, |
| 54 | BCMA_MIPS_IPSFLAG_IRQ2, |
| 55 | BCMA_MIPS_IPSFLAG_IRQ3, |
| 56 | BCMA_MIPS_IPSFLAG_IRQ4, |
| 57 | }; |
| 58 | |
| 59 | static const u32 ipsflag_irq_shift[] = { |
| 60 | 0, |
| 61 | BCMA_MIPS_IPSFLAG_IRQ1_SHIFT, |
| 62 | BCMA_MIPS_IPSFLAG_IRQ2_SHIFT, |
| 63 | BCMA_MIPS_IPSFLAG_IRQ3_SHIFT, |
| 64 | BCMA_MIPS_IPSFLAG_IRQ4_SHIFT, |
| 65 | }; |
| 66 | |
| 67 | static u32 bcma_core_mips_irqflag(struct bcma_device *dev) |
| 68 | { |
| 69 | u32 flag; |
| 70 | |
| 71 | if (bcma_core_mips_bcm47162a0_quirk(dev)) |
| 72 | return dev->core_index; |
| 73 | if (bcma_core_mips_bcm5357b0_quirk(dev)) |
| 74 | return dev->core_index; |
| 75 | flag = bcma_aread32(dev, BCMA_MIPS_OOBSELOUTA30); |
| 76 | |
Hauke Mehrtens | db5230d | 2013-01-04 00:51:23 +0100 | [diff] [blame] | 77 | if (flag) |
| 78 | return flag & 0x1F; |
| 79 | else |
| 80 | return 0x3f; |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 81 | } |
| 82 | |
| 83 | /* Get the MIPS IRQ assignment for a specified device. |
| 84 | * If unassigned, 0 is returned. |
Hauke Mehrtens | db5230d | 2013-01-04 00:51:23 +0100 | [diff] [blame] | 85 | * If disabled, 5 is returned. |
| 86 | * If not supported, 6 is returned. |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 87 | */ |
Nathan Hintz | e2aa19f | 2013-01-10 17:54:09 +0100 | [diff] [blame] | 88 | static unsigned int bcma_core_mips_irq(struct bcma_device *dev) |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 89 | { |
| 90 | struct bcma_device *mdev = dev->bus->drv_mips.core; |
| 91 | u32 irqflag; |
| 92 | unsigned int irq; |
| 93 | |
| 94 | irqflag = bcma_core_mips_irqflag(dev); |
Hauke Mehrtens | db5230d | 2013-01-04 00:51:23 +0100 | [diff] [blame] | 95 | if (irqflag == 0x3f) |
| 96 | return 6; |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 97 | |
Hauke Mehrtens | db5230d | 2013-01-04 00:51:23 +0100 | [diff] [blame] | 98 | for (irq = 0; irq <= 4; irq++) |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 99 | if (bcma_read32(mdev, BCMA_MIPS_MIPS74K_INTMASK(irq)) & |
| 100 | (1 << irqflag)) |
| 101 | return irq; |
| 102 | |
Hauke Mehrtens | db5230d | 2013-01-04 00:51:23 +0100 | [diff] [blame] | 103 | return 5; |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 104 | } |
Nathan Hintz | e2aa19f | 2013-01-10 17:54:09 +0100 | [diff] [blame] | 105 | |
| 106 | unsigned int bcma_core_irq(struct bcma_device *dev) |
| 107 | { |
| 108 | unsigned int mips_irq = bcma_core_mips_irq(dev); |
| 109 | return mips_irq <= 4 ? mips_irq + 2 : 0; |
| 110 | } |
| 111 | EXPORT_SYMBOL(bcma_core_irq); |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 112 | |
| 113 | static void bcma_core_mips_set_irq(struct bcma_device *dev, unsigned int irq) |
| 114 | { |
| 115 | unsigned int oldirq = bcma_core_mips_irq(dev); |
| 116 | struct bcma_bus *bus = dev->bus; |
| 117 | struct bcma_device *mdev = bus->drv_mips.core; |
| 118 | u32 irqflag; |
| 119 | |
| 120 | irqflag = bcma_core_mips_irqflag(dev); |
| 121 | BUG_ON(oldirq == 6); |
| 122 | |
| 123 | dev->irq = irq + 2; |
| 124 | |
| 125 | /* clear the old irq */ |
| 126 | if (oldirq == 0) |
| 127 | bcma_write32(mdev, BCMA_MIPS_MIPS74K_INTMASK(0), |
| 128 | bcma_read32(mdev, BCMA_MIPS_MIPS74K_INTMASK(0)) & |
| 129 | ~(1 << irqflag)); |
Hauke Mehrtens | db5230d | 2013-01-04 00:51:23 +0100 | [diff] [blame] | 130 | else if (oldirq != 5) |
Rafał Miłecki | cbbc013 | 2012-12-10 07:53:56 +0100 | [diff] [blame] | 131 | bcma_write32(mdev, BCMA_MIPS_MIPS74K_INTMASK(oldirq), 0); |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 132 | |
| 133 | /* assign the new one */ |
| 134 | if (irq == 0) { |
| 135 | bcma_write32(mdev, BCMA_MIPS_MIPS74K_INTMASK(0), |
| 136 | bcma_read32(mdev, BCMA_MIPS_MIPS74K_INTMASK(0)) | |
| 137 | (1 << irqflag)); |
| 138 | } else { |
Hauke Mehrtens | 6ba1eaf | 2013-01-04 00:51:25 +0100 | [diff] [blame] | 139 | u32 irqinitmask = bcma_read32(mdev, |
| 140 | BCMA_MIPS_MIPS74K_INTMASK(irq)); |
| 141 | if (irqinitmask) { |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 142 | struct bcma_device *core; |
| 143 | |
| 144 | /* backplane irq line is in use, find out who uses |
| 145 | * it and set user to irq 0 |
| 146 | */ |
Hauke Mehrtens | d8f1bd2 | 2012-07-26 17:44:12 +0200 | [diff] [blame] | 147 | list_for_each_entry(core, &bus->cores, list) { |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 148 | if ((1 << bcma_core_mips_irqflag(core)) == |
Hauke Mehrtens | 6ba1eaf | 2013-01-04 00:51:25 +0100 | [diff] [blame] | 149 | irqinitmask) { |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 150 | bcma_core_mips_set_irq(core, 0); |
| 151 | break; |
| 152 | } |
| 153 | } |
| 154 | } |
| 155 | bcma_write32(mdev, BCMA_MIPS_MIPS74K_INTMASK(irq), |
| 156 | 1 << irqflag); |
| 157 | } |
| 158 | |
Hauke Mehrtens | 7401cb6 | 2013-01-04 00:51:22 +0100 | [diff] [blame] | 159 | bcma_debug(bus, "set_irq: core 0x%04x, irq %d => %d\n", |
Hauke Mehrtens | db5230d | 2013-01-04 00:51:23 +0100 | [diff] [blame] | 160 | dev->id.id, oldirq <= 4 ? oldirq + 2 : 0, irq + 2); |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 161 | } |
| 162 | |
Hauke Mehrtens | e3f05a4 | 2013-01-04 00:51:21 +0100 | [diff] [blame] | 163 | static void bcma_core_mips_set_irq_name(struct bcma_bus *bus, unsigned int irq, |
| 164 | u16 coreid, u8 unit) |
| 165 | { |
| 166 | struct bcma_device *core; |
| 167 | |
| 168 | core = bcma_find_core_unit(bus, coreid, unit); |
| 169 | if (!core) { |
| 170 | bcma_warn(bus, |
| 171 | "Can not find core (id: 0x%x, unit %i) for IRQ configuration.\n", |
| 172 | coreid, unit); |
| 173 | return; |
| 174 | } |
| 175 | |
| 176 | bcma_core_mips_set_irq(core, irq); |
| 177 | } |
| 178 | |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 179 | static void bcma_core_mips_print_irq(struct bcma_device *dev, unsigned int irq) |
| 180 | { |
| 181 | int i; |
| 182 | static const char *irq_name[] = {"2(S)", "3", "4", "5", "6", "D", "I"}; |
Hauke Mehrtens | 7401cb6 | 2013-01-04 00:51:22 +0100 | [diff] [blame] | 183 | printk(KERN_DEBUG KBUILD_MODNAME ": core 0x%04x, irq :", dev->id.id); |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 184 | for (i = 0; i <= 6; i++) |
| 185 | printk(" %s%s", irq_name[i], i == irq ? "*" : " "); |
| 186 | printk("\n"); |
| 187 | } |
| 188 | |
| 189 | static void bcma_core_mips_dump_irq(struct bcma_bus *bus) |
| 190 | { |
| 191 | struct bcma_device *core; |
| 192 | |
Hauke Mehrtens | d8f1bd2 | 2012-07-26 17:44:12 +0200 | [diff] [blame] | 193 | list_for_each_entry(core, &bus->cores, list) { |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 194 | bcma_core_mips_print_irq(core, bcma_core_mips_irq(core)); |
| 195 | } |
| 196 | } |
| 197 | |
Hauke Mehrtens | 908debc | 2011-07-23 01:20:11 +0200 | [diff] [blame] | 198 | u32 bcma_cpu_clock(struct bcma_drv_mips *mcore) |
| 199 | { |
| 200 | struct bcma_bus *bus = mcore->core->bus; |
| 201 | |
| 202 | if (bus->drv_cc.capabilities & BCMA_CC_CAP_PMU) |
Rafał Miłecki | 5b5ac41 | 2012-12-07 12:56:56 +0100 | [diff] [blame] | 203 | return bcma_pmu_get_cpu_clock(&bus->drv_cc); |
Hauke Mehrtens | 908debc | 2011-07-23 01:20:11 +0200 | [diff] [blame] | 204 | |
Rafał Miłecki | 3d9d8af | 2012-07-05 22:07:32 +0200 | [diff] [blame] | 205 | bcma_err(bus, "No PMU available, need this to get the cpu clock\n"); |
Hauke Mehrtens | 908debc | 2011-07-23 01:20:11 +0200 | [diff] [blame] | 206 | return 0; |
| 207 | } |
| 208 | EXPORT_SYMBOL(bcma_cpu_clock); |
| 209 | |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 210 | static void bcma_core_mips_flash_detect(struct bcma_drv_mips *mcore) |
| 211 | { |
| 212 | struct bcma_bus *bus = mcore->core->bus; |
Hauke Mehrtens | 3c25ddd | 2012-09-29 20:33:52 +0200 | [diff] [blame] | 213 | struct bcma_drv_cc *cc = &bus->drv_cc; |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 214 | |
Hauke Mehrtens | 3c25ddd | 2012-09-29 20:33:52 +0200 | [diff] [blame] | 215 | switch (cc->capabilities & BCMA_CC_CAP_FLASHT) { |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 216 | case BCMA_CC_FLASHT_STSER: |
| 217 | case BCMA_CC_FLASHT_ATSER: |
Rafał Miłecki | 23cb3b2 | 2012-07-17 16:26:41 +0200 | [diff] [blame] | 218 | bcma_debug(bus, "Found serial flash\n"); |
Hauke Mehrtens | 3c25ddd | 2012-09-29 20:33:52 +0200 | [diff] [blame] | 219 | bcma_sflash_init(cc); |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 220 | break; |
| 221 | case BCMA_CC_FLASHT_PARA: |
Rafał Miłecki | 23cb3b2 | 2012-07-17 16:26:41 +0200 | [diff] [blame] | 222 | bcma_debug(bus, "Found parallel flash\n"); |
Hauke Mehrtens | 3c25ddd | 2012-09-29 20:33:52 +0200 | [diff] [blame] | 223 | cc->pflash.present = true; |
| 224 | cc->pflash.window = BCMA_SOC_FLASH2; |
| 225 | cc->pflash.window_size = BCMA_SOC_FLASH2_SZ; |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 226 | |
Hauke Mehrtens | 3c25ddd | 2012-09-29 20:33:52 +0200 | [diff] [blame] | 227 | if ((bcma_read32(cc->core, BCMA_CC_FLASH_CFG) & |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 228 | BCMA_CC_FLASH_CFG_DS) == 0) |
Hauke Mehrtens | 3c25ddd | 2012-09-29 20:33:52 +0200 | [diff] [blame] | 229 | cc->pflash.buswidth = 1; |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 230 | else |
Hauke Mehrtens | 3c25ddd | 2012-09-29 20:33:52 +0200 | [diff] [blame] | 231 | cc->pflash.buswidth = 2; |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 232 | break; |
| 233 | default: |
Rafał Miłecki | 23cb3b2 | 2012-07-17 16:26:41 +0200 | [diff] [blame] | 234 | bcma_err(bus, "Flash type not supported\n"); |
| 235 | } |
| 236 | |
Hauke Mehrtens | 3c25ddd | 2012-09-29 20:33:52 +0200 | [diff] [blame] | 237 | if (cc->core->id.rev == 38 || |
Rafał Miłecki | 23cb3b2 | 2012-07-17 16:26:41 +0200 | [diff] [blame] | 238 | bus->chipinfo.id == BCMA_CHIP_ID_BCM4706) { |
Hauke Mehrtens | 3c25ddd | 2012-09-29 20:33:52 +0200 | [diff] [blame] | 239 | if (cc->capabilities & BCMA_CC_CAP_NFLASH) { |
Rafał Miłecki | 23cb3b2 | 2012-07-17 16:26:41 +0200 | [diff] [blame] | 240 | bcma_debug(bus, "Found NAND flash\n"); |
Hauke Mehrtens | 3c25ddd | 2012-09-29 20:33:52 +0200 | [diff] [blame] | 241 | bcma_nflash_init(cc); |
Rafał Miłecki | 23cb3b2 | 2012-07-17 16:26:41 +0200 | [diff] [blame] | 242 | } |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 243 | } |
| 244 | } |
| 245 | |
Hauke Mehrtens | 49655bb | 2012-09-29 20:29:49 +0200 | [diff] [blame] | 246 | void bcma_core_mips_early_init(struct bcma_drv_mips *mcore) |
| 247 | { |
| 248 | struct bcma_bus *bus = mcore->core->bus; |
| 249 | |
| 250 | if (mcore->early_setup_done) |
| 251 | return; |
| 252 | |
| 253 | bcma_chipco_serial_init(&bus->drv_cc); |
| 254 | bcma_core_mips_flash_detect(mcore); |
| 255 | |
| 256 | mcore->early_setup_done = true; |
| 257 | } |
| 258 | |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 259 | void bcma_core_mips_init(struct bcma_drv_mips *mcore) |
| 260 | { |
| 261 | struct bcma_bus *bus; |
| 262 | struct bcma_device *core; |
| 263 | bus = mcore->core->bus; |
| 264 | |
Hauke Mehrtens | 49655bb | 2012-09-29 20:29:49 +0200 | [diff] [blame] | 265 | if (mcore->setup_done) |
| 266 | return; |
| 267 | |
Hauke Mehrtens | 7401cb6 | 2013-01-04 00:51:22 +0100 | [diff] [blame] | 268 | bcma_debug(bus, "Initializing MIPS core...\n"); |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 269 | |
Hauke Mehrtens | 49655bb | 2012-09-29 20:29:49 +0200 | [diff] [blame] | 270 | bcma_core_mips_early_init(mcore); |
| 271 | |
Hauke Mehrtens | e3f05a4 | 2013-01-04 00:51:21 +0100 | [diff] [blame] | 272 | switch (bus->chipinfo.id) { |
| 273 | case BCMA_CHIP_ID_BCM4716: |
| 274 | case BCMA_CHIP_ID_BCM4748: |
| 275 | bcma_core_mips_set_irq_name(bus, 1, BCMA_CORE_80211, 0); |
| 276 | bcma_core_mips_set_irq_name(bus, 2, BCMA_CORE_MAC_GBIT, 0); |
| 277 | bcma_core_mips_set_irq_name(bus, 3, BCMA_CORE_USB20_HOST, 0); |
| 278 | bcma_core_mips_set_irq_name(bus, 4, BCMA_CORE_PCIE, 0); |
| 279 | bcma_core_mips_set_irq_name(bus, 0, BCMA_CORE_CHIPCOMMON, 0); |
| 280 | bcma_core_mips_set_irq_name(bus, 0, BCMA_CORE_I2S, 0); |
| 281 | break; |
| 282 | case BCMA_CHIP_ID_BCM5356: |
| 283 | case BCMA_CHIP_ID_BCM47162: |
| 284 | case BCMA_CHIP_ID_BCM53572: |
| 285 | bcma_core_mips_set_irq_name(bus, 1, BCMA_CORE_80211, 0); |
| 286 | bcma_core_mips_set_irq_name(bus, 2, BCMA_CORE_MAC_GBIT, 0); |
| 287 | bcma_core_mips_set_irq_name(bus, 0, BCMA_CORE_CHIPCOMMON, 0); |
| 288 | break; |
| 289 | case BCMA_CHIP_ID_BCM5357: |
| 290 | case BCMA_CHIP_ID_BCM4749: |
| 291 | bcma_core_mips_set_irq_name(bus, 1, BCMA_CORE_80211, 0); |
| 292 | bcma_core_mips_set_irq_name(bus, 2, BCMA_CORE_MAC_GBIT, 0); |
| 293 | bcma_core_mips_set_irq_name(bus, 3, BCMA_CORE_USB20_HOST, 0); |
| 294 | bcma_core_mips_set_irq_name(bus, 0, BCMA_CORE_CHIPCOMMON, 0); |
| 295 | bcma_core_mips_set_irq_name(bus, 0, BCMA_CORE_I2S, 0); |
| 296 | break; |
| 297 | case BCMA_CHIP_ID_BCM4706: |
| 298 | bcma_core_mips_set_irq_name(bus, 1, BCMA_CORE_PCIE, 0); |
| 299 | bcma_core_mips_set_irq_name(bus, 2, BCMA_CORE_4706_MAC_GBIT, |
| 300 | 0); |
| 301 | bcma_core_mips_set_irq_name(bus, 3, BCMA_CORE_PCIE, 1); |
| 302 | bcma_core_mips_set_irq_name(bus, 4, BCMA_CORE_USB20_HOST, 0); |
| 303 | bcma_core_mips_set_irq_name(bus, 0, BCMA_CORE_4706_CHIPCOMMON, |
| 304 | 0); |
| 305 | break; |
| 306 | default: |
| 307 | list_for_each_entry(core, &bus->cores, list) { |
Nathan Hintz | e2aa19f | 2013-01-10 17:54:09 +0100 | [diff] [blame] | 308 | core->irq = bcma_core_irq(core); |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 309 | } |
Hauke Mehrtens | e3f05a4 | 2013-01-04 00:51:21 +0100 | [diff] [blame] | 310 | bcma_err(bus, |
| 311 | "Unknown device (0x%x) found, can not configure IRQs\n", |
| 312 | bus->chipinfo.id); |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 313 | } |
Hauke Mehrtens | 7401cb6 | 2013-01-04 00:51:22 +0100 | [diff] [blame] | 314 | bcma_debug(bus, "IRQ reconfiguration done\n"); |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 315 | bcma_core_mips_dump_irq(bus); |
| 316 | |
Hauke Mehrtens | 21e0534 | 2011-07-23 01:20:09 +0200 | [diff] [blame] | 317 | mcore->setup_done = true; |
| 318 | } |