MIPS: BCM47XX: Read board info for all bcma buses
Subsystems (2)
Rafał Miłecki
maintainerPATCH 1/1 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.
Signed-off-by Rafał Miłecki <[email protected]>
--- arch/mips/bcm47xx/setup.c | 3 -- arch/mips/bcm47xx/sprom.c | 42 +++++++++++++--------------- arch/mips/include/asm/mach-bcm47xx/bcm47xx.h | 4 --- 3 files changed, 20 insertions(+), 29 deletions(-)
arch/mips/bcm47xx/setup.c +0 -3
@@ -206,9 +206,6 @@ void __init bcm47xx_bus_setup(void) err =bcma_host_soc_init (&bcm47xx_bus.bcma);if (err) panic("Failed to initialize BCMA bus (err %d)", err); - -bcm47xx_fill_bcma_boardinfo (&bcm47xx_bus.bcma.bus.boardinfo, - NULL); }#endif
arch/mips/bcm47xx/sprom.c +20 -22
72 lines not on this page · raw message
arch/mips/include/asm/mach-bcm47xx/bcm47xx.h +0 -4
@@ -52,10 +52,6 @@ void bcm47xx_fill_sprom(struct ssb_sprom *sprom, const char *prefix,void bcm47xx_fill_ssb_boardinfo (struct ssb_boardinfo *boardinfo,const char *prefix);#endif -#ifdef CONFIG_BCM47XX_BCMA -void bcm47xx_fill_bcma_boardinfo (struct bcma_boardinfo *boardinfo, -const char *prefix); -#endif void bcm47xx_set_system_type (u16 chip_id);
Signature · 1 line
1.8.4.5