Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Rafał Miłecki and committed by
Kalle Valo
57d8f7dd 2fd40d2d

+9 -2
+9 -2
drivers/bcma/Kconfig
··· 76 76 default y 77 77 78 78 config BCMA_SFLASH 79 - bool 80 - depends on BCMA_DRIVER_MIPS 79 + bool "ChipCommon-attached serial flash support" 80 + depends on BCMA_HOST_SOC 81 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 83 90 config BCMA_NFLASH 84 91 bool