diff options
-rw-r--r-- | arch/mips/bcm47xx/Kconfig | 1 | ||||
-rw-r--r-- | drivers/ssb/Kconfig | 9 | ||||
-rw-r--r-- | drivers/ssb/Makefile | 2 | ||||
-rw-r--r-- | drivers/ssb/main.c | 2 | ||||
-rw-r--r-- | drivers/ssb/ssb_private.h | 2 |
5 files changed, 15 insertions, 1 deletions
diff --git a/arch/mips/bcm47xx/Kconfig b/arch/mips/bcm47xx/Kconfig index 51ed599cc894..e970fd9cf769 100644 --- a/arch/mips/bcm47xx/Kconfig +++ b/arch/mips/bcm47xx/Kconfig | |||
@@ -4,6 +4,7 @@ config BCM47XX_SSB | |||
4 | bool "SSB Support for Broadcom BCM47XX" | 4 | bool "SSB Support for Broadcom BCM47XX" |
5 | select SYS_HAS_CPU_BMIPS32_3300 | 5 | select SYS_HAS_CPU_BMIPS32_3300 |
6 | select SSB | 6 | select SSB |
7 | select SSB_HOST_SOC | ||
7 | select SSB_DRIVER_MIPS | 8 | select SSB_DRIVER_MIPS |
8 | select SSB_DRIVER_EXTIF | 9 | select SSB_DRIVER_EXTIF |
9 | select SSB_EMBEDDED | 10 | select SSB_EMBEDDED |
diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig index f0d22cdb51cd..149214beeda9 100644 --- a/drivers/ssb/Kconfig +++ b/drivers/ssb/Kconfig | |||
@@ -80,6 +80,15 @@ config SSB_SDIOHOST | |||
80 | 80 | ||
81 | If unsure, say N | 81 | If unsure, say N |
82 | 82 | ||
83 | config SSB_HOST_SOC | ||
84 | bool "Support for SSB bus on SoC" | ||
85 | depends on SSB | ||
86 | help | ||
87 | Host interface for a SSB directly mapped into memory. This is | ||
88 | for some Broadcom SoCs from the BCM47xx and BCM53xx lines. | ||
89 | |||
90 | If unsure, say N | ||
91 | |||
83 | config SSB_SILENT | 92 | config SSB_SILENT |
84 | bool "No SSB kernel messages" | 93 | bool "No SSB kernel messages" |
85 | depends on SSB && EXPERT | 94 | depends on SSB && EXPERT |
diff --git a/drivers/ssb/Makefile b/drivers/ssb/Makefile index 30194c5072f5..64a09681cee0 100644 --- a/drivers/ssb/Makefile +++ b/drivers/ssb/Makefile | |||
@@ -7,7 +7,7 @@ ssb-$(CONFIG_SSB_SPROM) += sprom.o | |||
7 | ssb-$(CONFIG_SSB_PCIHOST) += pci.o pcihost_wrapper.o | 7 | ssb-$(CONFIG_SSB_PCIHOST) += pci.o pcihost_wrapper.o |
8 | ssb-$(CONFIG_SSB_PCMCIAHOST) += pcmcia.o bridge_pcmcia_80211.o | 8 | ssb-$(CONFIG_SSB_PCMCIAHOST) += pcmcia.o bridge_pcmcia_80211.o |
9 | ssb-$(CONFIG_SSB_SDIOHOST) += sdio.o | 9 | ssb-$(CONFIG_SSB_SDIOHOST) += sdio.o |
10 | ssb-y += host_soc.o | 10 | ssb-$(CONFIG_SSB_HOST_SOC) += host_soc.o |
11 | 11 | ||
12 | # built-in drivers | 12 | # built-in drivers |
13 | ssb-y += driver_chipcommon.o | 13 | ssb-y += driver_chipcommon.o |
diff --git a/drivers/ssb/main.c b/drivers/ssb/main.c index bea823e824eb..5d1e9a0fc389 100644 --- a/drivers/ssb/main.c +++ b/drivers/ssb/main.c | |||
@@ -761,6 +761,7 @@ int ssb_bus_sdiobus_register(struct ssb_bus *bus, struct sdio_func *func, | |||
761 | EXPORT_SYMBOL(ssb_bus_sdiobus_register); | 761 | EXPORT_SYMBOL(ssb_bus_sdiobus_register); |
762 | #endif /* CONFIG_SSB_PCMCIAHOST */ | 762 | #endif /* CONFIG_SSB_PCMCIAHOST */ |
763 | 763 | ||
764 | #ifdef CONFIG_SSB_HOST_SOC | ||
764 | int ssb_bus_ssbbus_register(struct ssb_bus *bus, unsigned long baseaddr, | 765 | int ssb_bus_ssbbus_register(struct ssb_bus *bus, unsigned long baseaddr, |
765 | ssb_invariants_func_t get_invariants) | 766 | ssb_invariants_func_t get_invariants) |
766 | { | 767 | { |
@@ -777,6 +778,7 @@ int ssb_bus_ssbbus_register(struct ssb_bus *bus, unsigned long baseaddr, | |||
777 | 778 | ||
778 | return err; | 779 | return err; |
779 | } | 780 | } |
781 | #endif | ||
780 | 782 | ||
781 | int __ssb_driver_register(struct ssb_driver *drv, struct module *owner) | 783 | int __ssb_driver_register(struct ssb_driver *drv, struct module *owner) |
782 | { | 784 | { |
diff --git a/drivers/ssb/ssb_private.h b/drivers/ssb/ssb_private.h index 0a756c2519e5..15bfd5c7d2d7 100644 --- a/drivers/ssb/ssb_private.h +++ b/drivers/ssb/ssb_private.h | |||
@@ -161,7 +161,9 @@ static inline int ssb_sdio_init(struct ssb_bus *bus) | |||
161 | * host_soc.c | 161 | * host_soc.c |
162 | **************************************************/ | 162 | **************************************************/ |
163 | 163 | ||
164 | #ifdef CONFIG_SSB_HOST_SOC | ||
164 | extern const struct ssb_bus_ops ssb_host_soc_ops; | 165 | extern const struct ssb_bus_ops ssb_host_soc_ops; |
166 | #endif | ||
165 | 167 | ||
166 | /* scan.c */ | 168 | /* scan.c */ |
167 | extern const char *ssb_core_name(u16 coreid); | 169 | extern const char *ssb_core_name(u16 coreid); |