Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1445373 > unrolled thread

[PATCH] bcma: allow enabling serial flash support on non-MIPS SoCs

Started byRafał Miłecki <zajec5@gmail.com>
First post2016-07-18 12:40 +0200
Last post2016-07-18 21:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] bcma: allow enabling serial flash support on non-MIPS SoCs Rafał Miłecki <zajec5@gmail.com> - 2016-07-18 12:40 +0200
    Re: bcma: allow enabling serial flash support on non-MIPS SoCs Kalle Valo <kvalo@codeaurora.org> - 2016-07-18 21:50 +0200

#1445373 — [PATCH] bcma: allow enabling serial flash support on non-MIPS SoCs

FromRafał Miłecki <zajec5@gmail.com>
Date2016-07-18 12:40 +0200
Subject[PATCH] bcma: allow enabling serial flash support on non-MIPS SoCs
Message-ID<rWe7U-4ZV-19@gated-at.bofh.it>
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>
---
 drivers/bcma/Kconfig | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/drivers/bcma/Kconfig b/drivers/bcma/Kconfig
index efdc2ae..b5c48a8 100644
--- a/drivers/bcma/Kconfig
+++ b/drivers/bcma/Kconfig
@@ -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
-- 
1.8.4.5

[toc] | [next] | [standalone]


#1445776 — Re: bcma: allow enabling serial flash support on non-MIPS SoCs

FromKalle Valo <kvalo@codeaurora.org>
Date2016-07-18 21:50 +0200
SubjectRe: bcma: allow enabling serial flash support on non-MIPS SoCs
Message-ID<rWmIa-233-9@gated-at.bofh.it>
In reply to#1445373
Rafał Miłecki wrote:
> 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>

Thanks, 1 patch applied to wireless-drivers-next.git:

57d8f7dd2132 bcma: allow enabling serial flash support on non-MIPS SoCs

-- 
Sent by pwcli
https://patchwork.kernel.org/patch/9234387/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web