diff options
| author | Rafał Miłecki <zajec5@gmail.com> | 2015-05-12 07:05:18 -0400 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2015-06-21 15:52:25 -0400 |
| commit | 2623899459da55a0bbec247a5e3664cb798be241 (patch) | |
| tree | 0789a2963520bb082830d259b2944f6a4c8b50bf /arch/mips/include/asm/mach-bcm47xx | |
| parent | 6e122ac0053d071976686dd04cdd60ea8039bb7a (diff) | |
MIPS: BCM47xx: Read board info for all bcma buses
Extra bcma buses may be totally different models, see following dump:
boardtype=0x0646
pci/1/1/boardtype=0x0545
pci/2/1/boardtype=0x62b
We need to detect them properly to allow drivers apply some board
specific hacks.
[ralf@linux-mips.org: folded in Rafal's fix.]
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Patchwork: https://patchwork.linux-mips.org/patch/10028/
Patchwork: https://patchwork.linux-mips.org/patch/10048/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mach-bcm47xx')
| -rw-r--r-- | arch/mips/include/asm/mach-bcm47xx/bcm47xx.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/mips/include/asm/mach-bcm47xx/bcm47xx.h b/arch/mips/include/asm/mach-bcm47xx/bcm47xx.h index 8ed77f618940..1461c10c1c4c 100644 --- a/arch/mips/include/asm/mach-bcm47xx/bcm47xx.h +++ b/arch/mips/include/asm/mach-bcm47xx/bcm47xx.h | |||
| @@ -52,10 +52,6 @@ void bcm47xx_fill_sprom(struct ssb_sprom *sprom, const char *prefix, | |||
| 52 | void bcm47xx_fill_ssb_boardinfo(struct ssb_boardinfo *boardinfo, | 52 | void bcm47xx_fill_ssb_boardinfo(struct ssb_boardinfo *boardinfo, |
| 53 | const char *prefix); | 53 | const char *prefix); |
| 54 | #endif | 54 | #endif |
| 55 | #ifdef CONFIG_BCM47XX_BCMA | ||
| 56 | void bcm47xx_fill_bcma_boardinfo(struct bcma_boardinfo *boardinfo, | ||
| 57 | const char *prefix); | ||
| 58 | #endif | ||
| 59 | 55 | ||
| 60 | void bcm47xx_set_system_type(u16 chip_id); | 56 | void bcm47xx_set_system_type(u16 chip_id); |
| 61 | 57 | ||
