Skip to content

Commit

Permalink
bcma: allow enabling serial flash support on non-MIPS SoCs
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
  • Loading branch information
rmilecki authored and Kalle Valo committed Jul 18, 2016
1 parent 2fd40d2 commit 57d8f7d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions drivers/bcma/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,16 @@ config BCMA_PFLASH
default y

config BCMA_SFLASH
bool
depends on BCMA_DRIVER_MIPS
bool "ChipCommon-attached serial flash support"
depends on BCMA_HOST_SOC
default y
help
Some cheap devices have serial flash connected to the ChipCommon
instead of independent SPI controller. It requires using a separated
driver that implements ChipCommon specific interface communication.

Enabling this symbol will let bcma recognize serial flash and register
it as platform device.

config BCMA_NFLASH
bool
Expand Down

0 comments on commit 57d8f7d

Please sign in to comment.