Skip to contentSkip to conversation

spi/sf: Kconfig updates

PATCH New Jagan Teki 5 participants 38 messages Jun 27, 2015 – Jul 1, 2015

Subsystems (2)
lore
Share & tools
lore

Jagan Teki

author
#0 lore raw

cover spi/sf: Kconfig updates

Kconfig additions for spi/sf related drivers.

thanks!
Jagan.

Jagan Teki (20):
sf: dataflash: Rename to CONFIG_SPI_FLASH_DATAFLASH
README: Add CONFIG_SPI_FLASH_DATAFLASH description
sf: Add Kconfig menu entry
common: Add CMD_SF Kconfig entry
sf: Kconfig: Update SPI_FLASH entry
sf: Kconfig: Add SPI_FLASH_MTD entry
sf: Kconfig: Add SPI_FLASH_DATAFLASH entry
spi: Add Kconfig menu entry
spi: Kconfig: Add XILINX_SPI entry
spi: Kconfig: Add TI_QSPI entry
spi: Makefile: Use object file alphabetic order
spi: Kconfig: Show dm-spi drivers if DM_SPI set
spi: Kconfig: Add FSL_DSPI entry
spi: Kconfig: Add FSL_ESPI entry
spi: Kconfig: Add FSL_QSPI entry
spi: Kconfig: Add EXYNOS_SPI entry
spi: Kconfig: Add ICH_SPI entry
spi: Kconfig: Add TEGRA114_SPI entry
spi: Kconfig: Add TEGRA20_SFLASH entry
spi: Kconfig: Add TEGRA20_SLINK entry

 README                       |   5 ++
 common/Kconfig               |   5 ++
 drivers/mtd/spi/Kconfig      |  41 +++++++++++++----
 drivers/mtd/spi/Makefile     |   2 +-
 drivers/spi/Kconfig          | 106 +++++++++++++++++++++++++++++++++++++------
 drivers/spi/Makefile         |  10 ++--
 include/configs/ls1021aqds.h |   2 +-
 7 files changed, 143 insertions(+), 28 deletions(-)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/20 sf: dataflash: Rename to CONFIG_SPI_FLASH_DATAFLASH

Rename CONFIG_SF_DATAFLASH into CONFIG_SPI_FLASH_DATAFLASH as it follows the naming convention same as remaining configs.

---
 drivers/mtd/spi/Makefile     | 2 +-
 include/configs/ls1021aqds.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/mtd/spi/Makefile +1 -1
index ed46648..ff48b25 100644
@@ -15,9 +15,9 @@ endif
 #ifndef CONFIG_DM_SPI
 obj-$(CONFIG_SPI_FLASH) += sf_probe.o
 #endif
-obj-$(CONFIG_SF_DATAFLASH) += sf_dataflash.o
 obj-$(CONFIG_CMD_SF) += sf.o
 obj-$(CONFIG_SPI_FLASH) += sf_ops.o sf_params.o
+obj-$(CONFIG_SPI_FLASH_DATAFLASH) += sf_dataflash.o
 obj-$(CONFIG_SPI_FLASH_MTD) += sf_mtd.o
 obj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o
 obj-$(CONFIG_SPI_M95XXX) += eeprom_m95xxx.o
include/configs/ls1021aqds.h +1 -1
index 973454b..75b9ccb 100644
@@ -423,7 +423,7 @@ unsigned long get_board_ddr_clk(void);
 #if defined(CONFIG_FSL_DSPI) || defined(CONFIG_FSL_QSPI)
 #define CONFIG_CMD_SF
 #define CONFIG_DM_SPI_FLASH
-#define CONFIG_SF_DATAFLASH
+#define CONFIG_SPI_FLASH_DATAFLASH
 #endif
 #endif
 
Signature · 1 line
1.9.1
author
#2 lore raw

PATCH 2/20 README: Add CONFIG_SPI_FLASH_DATAFLASH description

In reply to Jagan Teki

This patch adds CONFIG_SPI_FLASH_DATAFLASH descrition on README file for more readble for users.

---
 README | 5 +++++
 1 file changed, 5 insertions(+)
README +5 -0
index 168d824..c49af74 100644
@@ -3099,6 +3099,11 @@ CBFS (Coreboot Filesystem) support
 		is needed for subsystems like UBI which can only operate on top
 		of the MTD layer.
 
+		CONFIG_SPI_FLASH_DATAFLASH	SPI based Dataflash
+
+		Define this option to access AT45xxx Dataflash chips support
+		using spi flash interface.
+
 - SystemACE Support:
 		CONFIG_SYSTEMACE
 
Signature · 1 line
1.9.1
author
#3 lore raw

PATCH 3/20 sf: Add Kconfig menu entry

In reply to Jagan Teki

Added Kconfig menu ... endmenu enties for spi flash suppor

---
 drivers/mtd/spi/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)
drivers/mtd/spi/Kconfig +4 -0
index 40a7981..aa3468b 100644
@@ -1,3 +1,5 @@
+menu "SPI Flash Support"
+
 config SPI_FLASH
 	bool "Enable SPI Flash support"
 	help
@@ -31,3 +33,5 @@ config SPI_FLASH_SANDBOX
 	  bus (see CONFIG_SANDBOX_SPI) and SPI traffic will be routed to this
 	  device. Typically the contents of the emulated SPI flash device is
 	  stored in a file on the host filesystem.
+
+endmenu # menu "SPI Flash Support"
Signature · 1 line
1.9.1
author
#4 lore raw

PATCH 4/20 common: Add CMD_SF Kconfig entry

In reply to Jagan Teki

Added Kconfig entry for CMD_SF.

---
 common/Kconfig | 5 +++++
 1 file changed, 5 insertions(+)
common/Kconfig +5 -0
index 2976cd7..40cd69e 100644
@@ -311,6 +311,11 @@ config CMD_NAND
 	help
 	  NAND support.
 
+config CMD_SF
+	bool "sf"
+	help
+	  SPI Flash support
+
 config CMD_SPI
 	bool "sspi"
 	help
Signature · 1 line
1.9.1
author
#5 lore raw

PATCH 5/20 sf: Kconfig: Update SPI_FLASH entry

In reply to Jagan Teki

Updated SPI_FLASH entry on Kconfig with depends on and along with config help description.

---
 drivers/mtd/spi/Kconfig | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)
drivers/mtd/spi/Kconfig +10 -9
index aa3468b..9536aac 100644
@@ -1,14 +1,5 @@
 menu "SPI Flash Support"
 
-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
@@ -34,4 +25,14 @@ config SPI_FLASH_SANDBOX
 	  device. Typically the contents of the emulated SPI flash device is
 	  stored in a file on the host filesystem.
 
+config SPI_FLASH
+	bool "Legacy SPI Flash Interface support"
+	depends on CMD_SF
+	help
+	  Enable the legacy SPI flash support. This will include basic
+	  standard support for things like probing, read / write, and
+	  erasing through cmd_sf interface.
+
+	  If unsure, say N
+
 endmenu # menu "SPI Flash Support"
Signature · 1 line
1.9.1
author
#6 lore raw

PATCH 6/20 sf: Kconfig: Add SPI_FLASH_MTD entry

In reply to Jagan Teki

Added SPI_FLASH_MTD entry on Kconfig with help description.

Cc Daniel Schwierzeck <[email protected]>
Cc Heiko Schocher <[email protected]>
---
 drivers/mtd/spi/Kconfig | 12 ++++++++++++
 1 file changed, 12 insertions(+)
drivers/mtd/spi/Kconfig +12 -0
index 9536aac..217e4d7 100644
@@ -35,4 +35,16 @@ config SPI_FLASH
 
 	  If unsure, say N
 
+config SPI_FLASH_MTD
+	bool "SPI Flash MTD support"
+	depends on SPI_FLASH
+	help
+          Enable the MTD support for spi flash layer, this adapter is for
+	  translating mtd_read/mtd_write commands into spi_flash_read/write
+	  commands. It is not intended to use it within sf_cmd or the SPI
+	  flash subsystem. Such an adapter is needed for subsystems like
+	  UBI which can only operate on top of the MTD layer.
+
+	  If unsure, say N
+
 endmenu # menu "SPI Flash Support"
Signature · 1 line
1.9.1
#7 lore raw

PATCH 6/20 sf: Kconfig: Add SPI_FLASH_MTD entry

2015-06-27 20:13 GMT+02:00 Jagan Teki <[email protected]>:

Quoted 31 lines

Added SPI_FLASH_MTD entry on Kconfig with help description.

Cc Daniel Schwierzeck <[email protected]>
Cc Heiko Schocher <[email protected]>
---
 drivers/mtd/spi/Kconfig | 12 ++++++++++++
 1 file changed, 12 insertions(+)
drivers/mtd/spi/Kconfig +12 -1
index 9536aac..217e4d7 100644
@@ -35,4 +35,16 @@ config SPI_FLASH
 
          If unsure, say N
 
+config SPI_FLASH_MTD
+       bool "SPI Flash MTD support"
+       depends on SPI_FLASH
+       help
+          Enable the MTD support for spi flash layer, this adapter is for
+         translating mtd_read/mtd_write commands into spi_flash_read/write
+         commands. It is not intended to use it within sf_cmd or the SPI
+         flash subsystem. Such an adapter is needed for subsystems like
+         UBI which can only operate on top of the MTD layer.
+
+         If unsure, say N
+
 endmenu # menu "SPI Flash Support"
--
Quoted 2 lines

1.9.1

looks good. Maybe you also should remove that help text from the README file.

Signature · 1 line
- Daniel
author
#8 lore raw

PATCH 6/20 sf: Kconfig: Add SPI_FLASH_MTD entry

Quoted 28 lines · Daniel Schwierzeck

2015-06-27 20:13 GMT+02:00 Jagan Teki <[email protected]>:

Quoted 27 lines

Added SPI_FLASH_MTD entry on Kconfig with help description.

Cc Daniel Schwierzeck <[email protected]>
Cc Heiko Schocher <[email protected]>
---
 drivers/mtd/spi/Kconfig | 12 ++++++++++++
 1 file changed, 12 insertions(+)
drivers/mtd/spi/Kconfig +10 -0
index 9536aac..217e4d7 100644
@@ -35,4 +35,16 @@ config SPI_FLASH
 
          If unsure, say N
 
+config SPI_FLASH_MTD
+       bool "SPI Flash MTD support"
+       depends on SPI_FLASH
+       help
+          Enable the MTD support for spi flash layer, this adapter is for
+         translating mtd_read/mtd_write commands into spi_flash_read/write
+         commands. It is not intended to use it within sf_cmd or the SPI
+         flash subsystem. Such an adapter is needed for subsystems like
+         UBI which can only operate on top of the MTD layer.
+
Quoted 8 lines
Quoted 6 lines
drivers/mtd/spi/Kconfig +2 -1
+         If unsure, say N
+
 endmenu # menu "SPI Flash Support"
--

1.9.1

looks good. Maybe you also should remove that help text from the README file.

Thought the same, will send the patch.

Quoted 3 lines

thanks!

Signature · 1 line
Jagan | openedev.
author
#9 lore raw

PATCH 7/20 sf: Kconfig: Add SPI_FLASH_DATAFLASH entry

In reply to Jagan Teki

Added SPI_FLASH_DATAFLASH entry on Kconfig with help description

Cc Haikun Wang <[email protected]>
Cc Simon Glass <[email protected]>
---
 drivers/mtd/spi/Kconfig | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/mtd/spi/Kconfig +8 -0
index 217e4d7..6b38ffc 100644
@@ -35,6 +35,14 @@ config SPI_FLASH
 
 	  If unsure, say N
 
+config SPI_FLASH_DATAFLASH
+	bool "AT45xxx DataFlash support"
+	depends on SPI_FLASH && DM_SPI_FLASH
+	help
+	  Enable the access for SPI Flash based AT45xxx DataFlash chips.
+
+	  If unsure, say N
+
 config SPI_FLASH_MTD
 	bool "SPI Flash MTD support"
 	depends on SPI_FLASH
Signature · 1 line
1.9.1
#10 lore raw

PATCH 7/20 sf: Kconfig: Add SPI_FLASH_DATAFLASH entry

Hi Jagan,

Quoted 8 lines · Jagan Teki

Added SPI_FLASH_DATAFLASH entry on Kconfig with help description

Cc Haikun Wang <[email protected]>
Cc Simon Glass <[email protected]>
---
 drivers/mtd/spi/Kconfig | 8 ++++++++
 1 file changed, 8 insertions(+)
Quoted 6 lines
drivers/mtd/spi/Kconfig +0 -0
index 217e4d7..6b38ffc 100644

drivers/mtd/spi/Kconfig config SPI_FLASH · line 42

Quoted 8 lines
drivers/mtd/spi/Kconfig +5 -0
@@ -35,6 +35,14 @@ config SPI_FLASH
 
          If unsure, say N
 
+config SPI_FLASH_DATAFLASH
+       bool "AT45xxx DataFlash support"
+       depends on SPI_FLASH && DM_SPI_FLASH
+       help
+         Enable the access for SPI Flash based AT45xxx DataFlash chips.

nit: SPI-flash-based

You could talk a little more about the chips capabilities? Normally we try to have 4 lines here.

Quoted 9 lines
drivers/mtd/spi/Kconfig +3 -1
+
+         If unsure, say N
+
 config SPI_FLASH_MTD
        bool "SPI Flash MTD support"
        depends on SPI_FLASH
--

1.9.1

Regards,
Simon

author
#11 lore raw

PATCH 7/20 sf: Kconfig: Add SPI_FLASH_DATAFLASH entry

Quoted 34 lines · Simon Glass

Hi Jagan,

Quoted 8 lines · Jagan Teki

Added SPI_FLASH_DATAFLASH entry on Kconfig with help description

Cc Haikun Wang <[email protected]>
Cc Simon Glass <[email protected]>
---
 drivers/mtd/spi/Kconfig | 8 ++++++++
 1 file changed, 8 insertions(+)
Quoted 6 lines
drivers/mtd/spi/Kconfig +0 -0
index 217e4d7..6b38ffc 100644

drivers/mtd/spi/Kconfig config SPI_FLASH · line 42

Quoted 8 lines
drivers/mtd/spi/Kconfig +5 -0
@@ -35,6 +35,14 @@ config SPI_FLASH
 
          If unsure, say N
 
+config SPI_FLASH_DATAFLASH
+       bool "AT45xxx DataFlash support"
+       depends on SPI_FLASH && DM_SPI_FLASH
+       help
+         Enable the access for SPI Flash based AT45xxx DataFlash chips.

nit: SPI-flash-based

You could talk a little more about the chips capabilities? Normally we try to have 4 lines here.

Quoted 7 lines

drivers/mtd/spi/Kconfig config SPI_FLASH

Quoted 7 lines
drivers/mtd/spi/Kconfig +3 -1
+
+         If unsure, say N
+
 config SPI_FLASH_MTD
        bool "SPI Flash MTD support"
        depends on SPI_FLASH
--

Applied to u-boot-spi/master

thanks!

Signature · 1 line
Jagan | openedev.
author
#12 lore raw

PATCH 8/20 spi: Add Kconfig menu entry

In reply to Jagan Teki

Added Kconfig menu ... endmenu enties for spi support.

---
 drivers/spi/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)
drivers/spi/Kconfig +4 -0
index fbff707..913951f 100644
@@ -1,3 +1,5 @@
+menu "SPI Support"
+
 config DM_SPI
 	bool "Enable Driver Model for SPI drivers"
 	depends on DM
@@ -59,3 +61,5 @@ config ZYNQ_SPI
 	  Enable the Zynq SPI driver. This driver can be used to
 	  access the SPI NOR flash on platforms embedding this Zynq
 	  SPI IP core.
+
+endmenu # menu "SPI Support"
Signature · 1 line
1.9.1
author
#13 lore raw

PATCH 9/20 spi: Kconfig: Add XILINX_SPI entry

In reply to Jagan Teki

Added XILINX_SPI entry on Kconfig with help description.

---
 drivers/spi/Kconfig | 9 +++++++++
 1 file changed, 9 insertions(+)
drivers/spi/Kconfig +9 -0
index 913951f..452dd4d 100644
@@ -54,6 +54,15 @@ config CADENCE_QSPI
 	  used to access the SPI NOR flash on platforms embedding this
 	  Cadence IP core.
 
+config XILINX_SPI
+	bool "Xilinx SPI driver"
+	depends on DM_SPI
+	help
+	  Enable the Xilinx SPI driver from the Xilinx EDK. This SPI
+	  controller support 8 bit SPI transfers only, with or w/o FIFO.
+	  For more info on Xilinx SPI Register Definitions and Overview
+	  see driver file - drivers/spi/xilinx_spi.c
+
 config ZYNQ_SPI
 	bool "Zynq SPI driver"
 	depends on DM_SPI && (ARCH_ZYNQ || TARGET_XILINX_ZYNQMP)
Signature · 1 line
1.9.1
author
#14 lore raw

PATCH 10/20 spi: Kconfig: Add TI_QSPI entry

In reply to Jagan Teki

Added TI_QSPI entry on Kconfig with help description.

---
 drivers/spi/Kconfig | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/spi/Kconfig +6 -0
index 452dd4d..218657e 100644
@@ -54,6 +54,12 @@ config CADENCE_QSPI
 	  used to access the SPI NOR flash on platforms embedding this
 	  Cadence IP core.
 
+config TI_QSPI
+	bool "TI QSPI driver"
+	help
+	  Enable the TI Quad-SPI (QSPI) driver for DRA7xx and AM43xx evms.
+	  This driver support spi flash single, quad and memory reads.
+
 config XILINX_SPI
 	bool "Xilinx SPI driver"
 	depends on DM_SPI
Signature · 1 line
1.9.1
#15 lore raw

PATCH 10/20 spi: Kconfig: Add TI_QSPI entry

Quoted 4 lines · Jagan Teki

Added TI_QSPI entry on Kconfig with help description.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150629/d6bdefca/attachment.sig>
author
#16 lore raw

PATCH 11/20 spi: Makefile: Use object file alphabetic order

In reply to Jagan Teki

Use object files as incresing alphabetic order, so-that it's easy for readability.

---
 drivers/spi/Makefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/spi/Makefile +5 -5
index 507c315..ee88aa1 100644
@@ -15,7 +15,6 @@ obj-y += spi.o
 obj-$(CONFIG_SOFT_SPI) += soft_spi_legacy.o
 endif
 
-obj-$(CONFIG_EP93XX_SPI) += ep93xx_spi.o
 obj-$(CONFIG_ALTERA_SPI) += altera_spi.o
 obj-$(CONFIG_ARMADA100_SPI) += armada100_spi.o
 obj-$(CONFIG_ATMEL_DATAFLASH_SPI) += atmel_dataflash_spi.o
@@ -27,7 +26,11 @@ obj-$(CONFIG_CF_SPI) += cf_spi.o
 obj-$(CONFIG_CF_QSPI) += cf_qspi.o
 obj-$(CONFIG_DAVINCI_SPI) += davinci_spi.o
 obj-$(CONFIG_DESIGNWARE_SPI) += designware_spi.o
+obj-$(CONFIG_EP93XX_SPI) += ep93xx_spi.o
 obj-$(CONFIG_EXYNOS_SPI) += exynos_spi.o
+obj-$(CONFIG_FSL_DSPI) += fsl_dspi.o
+obj-$(CONFIG_FSL_ESPI) += fsl_espi.o
+obj-$(CONFIG_FSL_QSPI) += fsl_qspi.o
 obj-$(CONFIG_ICH_SPI) +=  ich.o
 obj-$(CONFIG_KIRKWOOD_SPI) += kirkwood_spi.o
 obj-$(CONFIG_LPC32XX_SSP) += lpc32xx_ssp.o
@@ -39,12 +42,9 @@ obj-$(CONFIG_OMAP3_SPI) += omap3_spi.o
 obj-$(CONFIG_SANDBOX_SPI) += sandbox_spi.o
 obj-$(CONFIG_SH_SPI) += sh_spi.o
 obj-$(CONFIG_SH_QSPI) += sh_qspi.o
-obj-$(CONFIG_FSL_ESPI) += fsl_espi.o
+obj-$(CONFIG_TEGRA114_SPI) += tegra114_spi.o
 obj-$(CONFIG_TEGRA20_SFLASH) += tegra20_sflash.o
 obj-$(CONFIG_TEGRA20_SLINK) += tegra20_slink.o
-obj-$(CONFIG_TEGRA114_SPI) += tegra114_spi.o
 obj-$(CONFIG_TI_QSPI) += ti_qspi.o
 obj-$(CONFIG_XILINX_SPI) += xilinx_spi.o
 obj-$(CONFIG_ZYNQ_SPI) += zynq_spi.o
-obj-$(CONFIG_FSL_QSPI) += fsl_qspi.o
-obj-$(CONFIG_FSL_DSPI) += fsl_dspi.o
Signature · 1 line
1.9.1
author
#17 lore raw

PATCH 12/20 spi: Kconfig: Show dm-spi drivers if DM_SPI set

In reply to Jagan Teki

DM supported spi drivers are enbled only when DM_SPI enabled, so added DM_SPI if condition in Kconfig to show thoese only when it enabled.

Also re-order the config items as incresing alphabetic order.

---
 drivers/spi/Kconfig | 51 ++++++++++++++++++++++++++-------------------------
 1 file changed, 26 insertions(+), 25 deletions(-)
drivers/spi/Kconfig +26 -25
index 218657e..7277bbd 100644
@@ -13,6 +13,22 @@ config DM_SPI
 	  typically use driver-private data instead of extending the
 	  spi_slave structure.
 
+if DM_SPI
+
+config CADENCE_QSPI
+	bool "Cadence QSPI driver"
+	help
+	  Enable the Cadence Quad-SPI (QSPI) driver. This driver can be
+	  used to access the SPI NOR flash on platforms embedding this
+	  Cadence IP core.
+
+config DESIGNWARE_SPI
+	bool "Designware SPI driver"
+	help
+	  Enable the Designware SPI driver. This driver can be used to
+	  access the SPI NOR flash on platforms embedding this Designware
+	  IP core.
+
 config SANDBOX_SPI
 	bool "Sandbox SPI driver"
 	depends on SANDBOX && DM
@@ -36,33 +52,10 @@ config SANDBOX_SPI
 			spi-max-frequency = <40000000>;
 			sandbox,filename = "spi.bin";
 		};
-	};
-
-config DESIGNWARE_SPI
-	bool "Designware SPI driver"
-	depends on DM_SPI
-	help
-	  Enable the Designware SPI driver. This driver can be used to
-	  access the SPI NOR flash on platforms embedding this Designware
-	  IP core.
-
-config CADENCE_QSPI
-	bool "Cadence QSPI driver"
-	depends on DM_SPI
-	help
-	  Enable the Cadence Quad-SPI (QSPI) driver. This driver can be
-	  used to access the SPI NOR flash on platforms embedding this
-	  Cadence IP core.
-
-config TI_QSPI
-	bool "TI QSPI driver"
-	help
-	  Enable the TI Quad-SPI (QSPI) driver for DRA7xx and AM43xx evms.
-	  This driver support spi flash single, quad and memory reads.
+	  };
 
 config XILINX_SPI
 	bool "Xilinx SPI driver"
-	depends on DM_SPI
 	help
 	  Enable the Xilinx SPI driver from the Xilinx EDK. This SPI
 	  controller support 8 bit SPI transfers only, with or w/o FIFO.
@@ -71,10 +64,18 @@ config XILINX_SPI
 
 config ZYNQ_SPI
 	bool "Zynq SPI driver"
-	depends on DM_SPI && (ARCH_ZYNQ || TARGET_XILINX_ZYNQMP)
+	depends on ARCH_ZYNQ || TARGET_XILINX_ZYNQMP
 	help
 	  Enable the Zynq SPI driver. This driver can be used to
 	  access the SPI NOR flash on platforms embedding this Zynq
 	  SPI IP core.
 
+endif # if DM_SPI
+
+config TI_QSPI
+	bool "TI QSPI driver"
+	help
+	  Enable the TI Quad-SPI (QSPI) driver for DRA7xx and AM43xx evms.
+	  This driver support spi flash single, quad and memory reads.
+
 endmenu # menu "SPI Support"
Signature · 1 line
1.9.1
author
#18 lore raw

PATCH 13/20 spi: Kconfig: Add FSL_DSPI entry

In reply to Jagan Teki

Added FSL_DSPI entry on Kconfig with help description.

---
 drivers/spi/Kconfig | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/spi/Kconfig +8 -0
index 7277bbd..9c6c5d5 100644
@@ -29,6 +29,14 @@ config DESIGNWARE_SPI
 	  access the SPI NOR flash on platforms embedding this Designware
 	  IP core.
 
+config FSL_DSPI
+	bool "Freescale DSPI driver"
+	help
+	  Enable the Freescale DSPI driver. This driver can be used to
+	  access the SPI NOR flash and SPI Data flash on platforms embedding
+	  this Freescale DSPI IP core. LS102xA and Colibri VF50/VF61 platforms
+	  use this driver.
+
 config SANDBOX_SPI
 	bool "Sandbox SPI driver"
 	depends on SANDBOX && DM
Signature · 1 line
1.9.1
author
#19 lore raw

PATCH 14/20 spi: Kconfig: Add FSL_ESPI entry

In reply to Jagan Teki

Added FSL_ESPI entry on Kconfig with help description.

---
 drivers/spi/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/spi/Kconfig +7 -0
index 9c6c5d5..2c0046d 100644
@@ -80,6 +80,13 @@ config ZYNQ_SPI
 
 endif # if DM_SPI
 
+config FSL_ESPI
+	bool "Freescale eSPI driver"
+	help
+	  Enable the Freescale eSPI driver. This driver can be used to
+	  access the SPI interface and SPI NOR flash on platforms embedding
+	  this Freescale eSPI IP core.
+
 config TI_QSPI
 	bool "TI QSPI driver"
 	help
Signature · 1 line
1.9.1
author
#20 lore raw

PATCH 15/20 spi: Kconfig: Add FSL_QSPI entry

In reply to Jagan Teki

Added FSL_QSPI entry on Kconfig with help description.

Cc Peng Fan <[email protected]>
Cc Haikun Wang <[email protected]>
---
 drivers/spi/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/spi/Kconfig +7 -0
index 2c0046d..e4a90e8 100644
@@ -37,6 +37,13 @@ config FSL_DSPI
 	  this Freescale DSPI IP core. LS102xA and Colibri VF50/VF61 platforms
 	  use this driver.
 
+config FSL_QSPI
+	bool "Freescale QSPI driver"
+	help
+	  Enable the Freescale Quad-SPI (QSPI) driver. This driver can be
+	  used to access the SPI NOR flash on platforms embedding this
+	  Freescale IP core.
+
 config SANDBOX_SPI
 	bool "Sandbox SPI driver"
 	depends on SANDBOX && DM
Signature · 1 line
1.9.1
author
#21 lore raw

PATCH 16/20 spi: Kconfig: Add EXYNOS_SPI entry

In reply to Jagan Teki

Added EXYNOS_SPI entry on Kconfig with help description.

---
 drivers/spi/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/spi/Kconfig +7 -0
index e4a90e8..d5e6881 100644
@@ -29,6 +29,13 @@ config DESIGNWARE_SPI
 	  access the SPI NOR flash on platforms embedding this Designware
 	  IP core.
 
+config EXYNOS_SPI
+	bool "Samsung Exynos SPI driver"
+	help
+	  Enable the Samsung Exynos SPI driver. This driver can be used to
+	  access the SPI NOR flash on platforms embedding this Samsung
+	  Exynos IP core.
+
 config FSL_DSPI
 	bool "Freescale DSPI driver"
 	help
Signature · 1 line
1.9.1
author
#23 lore raw

PATCH 16/20 spi: Kconfig: Add EXYNOS_SPI entry

Quoted 9 lines · Simon Glass
Quoted 7 lines · Jagan Teki

Added EXYNOS_SPI entry on Kconfig with help description.

---
 drivers/spi/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)
Quoted 5 lines

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Applied to u-boot-spi/master

thanks!

Signature · 1 line
Jagan | openedev.
author
#24 lore raw

PATCH 17/20 spi: Kconfig: Add ICH_SPI entry

In reply to Jagan Teki

Added ICH_SPI entry on Kconfig with help description.

---
 drivers/spi/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/spi/Kconfig +7 -0
index d5e6881..43f9fac 100644
@@ -51,6 +51,13 @@ config FSL_QSPI
 	  used to access the SPI NOR flash on platforms embedding this
 	  Freescale IP core.
 
+config ICH_SPI
+	bool "Intel ICH SPI driver"
+	help
+	  Enable the Intel ICH SPI driver. This driver can be used to
+	  access the SPI NOR flash on platforms embedding this Intel
+	  ICH IP core.
+
 config SANDBOX_SPI
 	bool "Sandbox SPI driver"
 	depends on SANDBOX && DM
Signature · 1 line
1.9.1
#25 lore raw

PATCH 17/20 spi: Kconfig: Add ICH_SPI entry

Quoted 17 lines · Jagan Teki

Added ICH_SPI entry on Kconfig with help description.

---
 drivers/spi/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/spi/Kconfig +1 -0
index d5e6881..43f9fac 100644
@@ -51,6 +51,13 @@ config FSL_QSPI
          used to access the SPI NOR flash on platforms embedding this
          Freescale IP core.
 
+config ICH_SPI

drivers/spi/Kconfig config FSL_QSPI

Quoted 10 lines
drivers/spi/Kconfig +6 -1
+       bool "Intel ICH SPI driver"
+       help
+         Enable the Intel ICH SPI driver. This driver can be used to
+         access the SPI NOR flash on platforms embedding this Intel
+         ICH IP core.
+
 config SANDBOX_SPI
        bool "Sandbox SPI driver"
        depends on SANDBOX && DM
--
author
#28 lore raw

PATCH 18/20 spi: Kconfig: Add TEGRA114_SPI entry

In reply to Jagan Teki

Added TEGRA114_SPI entry on Kconfig with help description.

Cc Tom Warren <[email protected]>
Cc Stephen Warren <[email protected]>
Cc Simon Glass <[email protected]>
---
 drivers/spi/Kconfig | 10 ++++++++++
 1 file changed, 10 insertions(+)
drivers/spi/Kconfig +10 -0
index 43f9fac..16dce77 100644
@@ -83,6 +83,16 @@ config SANDBOX_SPI
 		};
 	  };
 
+config TEGRA114_SPI
+	bool "nVidia Tegra114 SPI driver"
+	help
+	  Enable the nVidia Tegra114 SPI driver. This driver can be used to
+	  access the SPI NOR flash on platforms embedding this nVidia Tegra114
+	  IP core.
+
+	  This controller is different than the older SoCs SPI controller and
+	  also register interface get changed with this controller.
+
 config XILINX_SPI
 	bool "Xilinx SPI driver"
 	help
Signature · 1 line
1.9.1
author
#30 lore raw

PATCH 18/20 spi: Kconfig: Add TEGRA114_SPI entry

Quoted 12 lines · Simon Glass
Quoted 10 lines · Jagan Teki

Added TEGRA114_SPI entry on Kconfig with help description.

Cc Tom Warren <[email protected]>
Cc Stephen Warren <[email protected]>
Cc Simon Glass <[email protected]>
---
 drivers/spi/Kconfig | 10 ++++++++++
 1 file changed, 10 insertions(+)
Quoted 5 lines

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Applied to u-boot-spi/master

thanks!

Signature · 1 line
Jagan | openedev.
author
#31 lore raw

PATCH 19/20 spi: Kconfig: Add TEGRA20_SFLASH entry

In reply to Jagan Teki

Added TEGRA20_SFLASH entry on Kconfig with help description.

Cc Tom Warren <[email protected]>
Cc Stephen Warren <[email protected]>
Cc Simon Glass <[email protected]>
---
 drivers/spi/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/spi/Kconfig +7 -0
index 16dce77..8ffb3c4 100644
@@ -93,6 +93,13 @@ config TEGRA114_SPI
 	  This controller is different than the older SoCs SPI controller and
 	  also register interface get changed with this controller.
 
+config TEGRA20_SFLASH
+	bool "nVidia Tegra20 Serial Flash controller driver"
+	help
+	  Enable the nVidia Tegra20 Serial Flash controller driver. This driver
+	  can be used to access the SPI NOR flash on platforms embedding this
+	  nVidia Tegra20 IP core.
+
 config XILINX_SPI
 	bool "Xilinx SPI driver"
 	help
Signature · 1 line
1.9.1
author
#33 lore raw

PATCH 19/20 spi: Kconfig: Add TEGRA20_SFLASH entry

Quoted 11 lines · Simon Glass
Quoted 9 lines · Jagan Teki

Added TEGRA20_SFLASH entry on Kconfig with help description.

Cc Tom Warren <[email protected]>
Cc Stephen Warren <[email protected]>
Cc Simon Glass <[email protected]>
---
 drivers/spi/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)
Quoted 1 line

Applied to u-boot-spi/master

thanks!

Signature · 1 line
Jagan | openedev.
author
#34 lore raw

PATCH 20/20 spi: Kconfig: Add TEGRA20_SLINK entry

In reply to Jagan Teki

Added TEGRA20_SLINK entry on Kconfig with help description.

Cc Tom Warren <[email protected]>
Cc Stephen Warren <[email protected]>
Cc Simon Glass <[email protected]>
---
 drivers/spi/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/spi/Kconfig +7 -0
index 8ffb3c4..c84a7b7 100644
@@ -100,6 +100,13 @@ config TEGRA20_SFLASH
 	  can be used to access the SPI NOR flash on platforms embedding this
 	  nVidia Tegra20 IP core.
 
+config TEGRA20_SLINK
+	bool "nVidia Tegra20/Tegra30 SLINK driver"
+	help
+	  Enable the nVidia Tegra20/Tegra30 SLINK driver. This driver can
+	  be used to access the SPI NOR flash on platforms embedding this
+	  nVidia Tegra20/Tegra30 IP cores.
+
 config XILINX_SPI
 	bool "Xilinx SPI driver"
 	help
Signature · 1 line
1.9.1
author
#36 lore raw

PATCH 20/20 spi: Kconfig: Add TEGRA20_SLINK entry

Quoted 11 lines · Simon Glass
Quoted 9 lines · Jagan Teki

Added TEGRA20_SLINK entry on Kconfig with help description.

Cc Tom Warren <[email protected]>
Cc Stephen Warren <[email protected]>
Cc Simon Glass <[email protected]>
---
 drivers/spi/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)
Quoted 5 lines

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Applied to u-boot-spi/master

thanks!

Signature · 1 line
Jagan | openedev.
author
#37 lore raw

cover spi/sf: Kconfig updates

In reply to Jagan Teki
Quoted 27 lines · Jagan Teki

Kconfig additions for spi/sf related drivers.

thanks!
Jagan.

Jagan Teki (20):
sf: dataflash: Rename to CONFIG_SPI_FLASH_DATAFLASH
README: Add CONFIG_SPI_FLASH_DATAFLASH description
sf: Add Kconfig menu entry
common: Add CMD_SF Kconfig entry
sf: Kconfig: Update SPI_FLASH entry
sf: Kconfig: Add SPI_FLASH_MTD entry
sf: Kconfig: Add SPI_FLASH_DATAFLASH entry
spi: Add Kconfig menu entry
spi: Kconfig: Add XILINX_SPI entry
spi: Kconfig: Add TI_QSPI entry
spi: Makefile: Use object file alphabetic order
spi: Kconfig: Show dm-spi drivers if DM_SPI set
spi: Kconfig: Add FSL_DSPI entry
spi: Kconfig: Add FSL_ESPI entry
spi: Kconfig: Add FSL_QSPI entry
spi: Kconfig: Add EXYNOS_SPI entry
spi: Kconfig: Add ICH_SPI entry
spi: Kconfig: Add TEGRA114_SPI entry
spi: Kconfig: Add TEGRA20_SFLASH entry
spi: Kconfig: Add TEGRA20_SLINK entry

Quoted 8 lines
 README                       |   5 ++
 common/Kconfig               |   5 ++
 drivers/mtd/spi/Kconfig      |  41 +++++++++++++----
 drivers/mtd/spi/Makefile     |   2 +-
 drivers/spi/Kconfig          | 106 +++++++++++++++++++++++++++++++++++++------
 drivers/spi/Makefile         |  10 ++--
 include/configs/ls1021aqds.h |   2 +-
 7 files changed, 143 insertions(+), 28 deletions(-)

Applied to u-boot-spi/master

thanks!

Signature · 1 line
Jagan | openedev.