Skip to contentSkip to conversation

spi-nor: Kconfig: Remove unneeded help message

PATCH In review Fabio Estevam 3 participants 4 messages Aug 12, 2015 – Aug 13, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spi-nor: Kconfig: Remove unneeded help message

From: Fabio Estevam <[email protected]>

The "We only connect the NOR to this controller now" phrase is not really useful for a Kconfig help text, so remove it.

---
 drivers/mtd/spi-nor/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/mtd/spi-nor/Kconfig +0 -1
index 64a4f0e..baa8442 100644
@@ -26,6 +26,5 @@ config SPI_FSL_QUADSPI
 	depends on ARCH_MXC
 	help
 	  This enables support for the Quad SPI controller in master mode.
-	  We only connect the NOR to this controller now.
 
 endif # MTD_SPI_NOR
Signature · 1 line
1.9.1
#1 lore raw
Quoted 15 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

The "We only connect the NOR to this controller now" phrase is not really useful for a Kconfig help text, so remove it.

---
 drivers/mtd/spi-nor/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/mtd/spi-nor/Kconfig +0 -0
index 64a4f0e..baa8442 100644

drivers/mtd/spi-nor/Kconfig config SPI_FSL_QUADSPI · line 29

Quoted 4 lines
drivers/mtd/spi-nor/Kconfig +0 -1
@@ -26,6 +26,5 @@ config SPI_FSL_QUADSPI
 	depends on ARCH_MXC
 	help
 	  This enables support for the Quad SPI controller in master mode.
-	  We only connect the NOR to this controller now.

I'm inclined to accept this patch, but I'm curious what the intention for the original statement was. Does this mean "this controller could support generic SPI, but this driver only bothers to implement the NOR flash protocol"?

Quoted 5 lines
drivers/mtd/spi-nor/Kconfig +0 -0
 endif # MTD_SPI_NOR
Signature · 1 line
1.9.1

Brian

#2 lore raw
Quoted 22 lines

-----Original Message-----
From: linux-mtd [mailto:[email protected]] On Behalf Of Brian Norris
Sent: Wednesday, August 12, 2015 10:13 PM
To: Fabio Estevam
Cc: Estevam Fabio-R49496; Huang Shijie; [email protected]; Xu Han-B45815
Subject: Re: [PATCH] spi-nor: Kconfig: Remove unneeded help message

Quoted 10 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

The "We only connect the NOR to this controller now" phrase is not really useful for a Kconfig help text, so remove it.

---
 drivers/mtd/spi-nor/Kconfig | 1 -
 1 file changed, 1 deletion(-)
Quoted 13 lines

drivers/mtd/spi-nor/Kconfig config SPI_FSL_QUADSPI · line 29

Quoted 9 lines
drivers/mtd/spi-nor/Kconfig +0 -1
index 64a4f0e..baa8442 100644
@@ -26,6 +26,5 @@ config SPI_FSL_QUADSPI
 	depends on ARCH_MXC
 	help
 	  This enables support for the Quad SPI controller in master mode.
-	  We only connect the NOR to this controller now.

I'm inclined to accept this patch, but I'm curious what the intention for the original statement was. Does this mean "this controller could support generic SPI, but this driver only bothers to implement the NOR flash protocol"?

This controller doesn't support generic SPI.
Just support connect to SPI NOR flash.

Best regards
Frank Li

Quoted 12 lines
Quoted 6 lines
drivers/mtd/spi-nor/Kconfig +0 -1
 endif # MTD_SPI_NOR
--

1.9.1

Brian

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

#3 lore raw

Hi Frank,

Quoted 6 lines · Li Frank
Quoted 3 lines

I'm inclined to accept this patch, but I'm curious what the intention for the original statement was. Does this mean "this controller could support generic SPI, but this driver only bothers to implement the NOR flash protocol"?

This controller doesn't support generic SPI.
Just support connect to SPI NOR flash.

Thanks for the clarification.

I changed the Kconfig in v2 to make this clear as per your suggestion.

Regards,

Fabio Estevam