summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2016-07-18 06:34:14 -0400
committerKalle Valo <kvalo@codeaurora.org>2016-07-18 15:43:35 -0400
commit57d8f7dd2132df3ac21044e93a8ecdc9744b4459 (patch)
tree4eb5a8fa52ff940c277eb5460dbc4c7812872b39
parent2fd40d2d349f0faf49460b4eca3f49dfe9094619 (diff)
bcma: allow enabling serial flash support on non-MIPS SoCs
So far we had only MIPS devices with serial flash connected to the SoC's ChipCommon. ARM devices got a separated SPI controller and weere using standard SPI drivers. This has changed with the wireless SoC BCM47189B0. It's ARM based but has serial flash attached just like older devices. This allows using existing driver with these devices. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
-rw-r--r--drivers/bcma/Kconfig11
1 files changed, 9 insertions, 2 deletions
diff --git a/drivers/bcma/Kconfig b/drivers/bcma/Kconfig
index efdc2ae8441a..b5c48a8d485f 100644
--- a/drivers/bcma/Kconfig
+++ b/drivers/bcma/Kconfig
@@ -76,9 +76,16 @@ config BCMA_PFLASH
76 default y 76 default y
77 77
78config BCMA_SFLASH 78config BCMA_SFLASH
79 bool 79 bool "ChipCommon-attached serial flash support"
80 depends on BCMA_DRIVER_MIPS 80 depends on BCMA_HOST_SOC
81 default y 81 default y
82 help
83 Some cheap devices have serial flash connected to the ChipCommon
84 instead of independent SPI controller. It requires using a separated
85 driver that implements ChipCommon specific interface communication.
86
87 Enabling this symbol will let bcma recognize serial flash and register
88 it as platform device.
82 89
83config BCMA_NFLASH 90config BCMA_NFLASH
84 bool 91 bool