diff mbox

[U-Boot,1/7] mtd: spi: Add the SPI_FLASH config to Kconfig

Message ID 1435007730-8451-2-git-send-email-joe.hershberger@ni.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Joe Hershberger June 22, 2015, 9:15 p.m. UTC
This config needs to be available in the Kconfig to allow it to be
removed from arch defaults.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
---

 drivers/mtd/spi/Kconfig | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Tom Rini June 26, 2015, 9:04 p.m. UTC | #1
On Mon, Jun 22, 2015 at 04:15:24PM -0500, Joe Hershberger wrote:

> This config needs to be available in the Kconfig to allow it to be
> removed from arch defaults.
> 
> Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>

Applied to u-boot/master, thanks!
Jagan Teki June 26, 2015, 9:16 p.m. UTC | #2
On 27 June 2015 at 02:34, Tom Rini <trini@konsulko.com> wrote:
> On Mon, Jun 22, 2015 at 04:15:24PM -0500, Joe Hershberger wrote:
>
>> This config needs to be available in the Kconfig to allow it to be
>> removed from arch defaults.
>>
>> Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
>
> Applied to u-boot/master, thanks!

Some how I have missed this as I thought this would go to next release as
it sent on out-of-merge window - and "the help description is quite incorrect"

Probably I will fix the same.

thanks!
diff mbox

Patch

diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig
index ac6d09f..40a7981 100644
--- a/drivers/mtd/spi/Kconfig
+++ b/drivers/mtd/spi/Kconfig
@@ -1,3 +1,12 @@ 
+config SPI_FLASH
+	bool "Enable SPI Flash support"
+	help
+	  Enable the legacy SPI flash support. This will include basic
+	  standard support for things like probing, read / write, and
+	  erasing through the MTD layer.
+
+	  If unsure, say N
+
 config DM_SPI_FLASH
 	bool "Enable Driver Model for SPI flash"
 	depends on DM && DM_SPI