Skip to contentSkip to conversation

README: SPI: Add & explain missed SPI & serial flash options.

PATCH New Ahmed Samir Khalil 2 participants 2 messages Jun 11, 2016 – Jul 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 README: SPI: Add & explain missed SPI & serial flash options.

There are no README documentation about these options of SPI & serial flash devices. Documenting these options makes getting startup, configuration & testing easier.

---
 README | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
README +15 -0
index 1d0b946..9cf3a05 100644
@@ -2689,6 +2689,21 @@ CBFS (Coreboot Filesystem) support
 		Timeout for waiting until spi transfer completed.
 		default: (CONFIG_SYS_HZ/100)     /* 10 ms */
 
+		CONFIG_SPI_FLASH
+		Include SPI flash core, interface, and parameters table,
+		and serial flash probing.
+
+		CONFIG_SPI_FLASH_MTD
+		Register SPI flash to the MTD subsystem. Needed for MTD operations.
+
+		CONFIG_SYS_SPI_U_BOOT_OFFS
+		Location in SPI to read U-Boot from.
+
+		CONFIG_DM_SPI, CONFIG_DM_SPI_FLASH
+		Use the Driver Model (DM) for SPI devices, and SPI flash.
+		For more details on how to port legacy driver to the new DM,
+		see doc/driver-model/spi-howto.txt
+
 - FPGA Support: CONFIG_FPGA
 
 		Enables FPGA subsystem.
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 README: SPI: Add & explain missed SPI & serial flash options.

Quoted 21 lines · Ahmed Samir Khalil

There are no README documentation about these options of SPI & serial flash devices. Documenting these options makes getting startup, configuration & testing easier.

---
 README | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
README +4 -0
index 1d0b946..9cf3a05 100644
@@ -2689,6 +2689,21 @@ CBFS (Coreboot Filesystem) support
                Timeout for waiting until spi transfer completed.
                default: (CONFIG_SYS_HZ/100)     /* 10 ms */
 
+               CONFIG_SPI_FLASH
+               Include SPI flash core, interface, and parameters table,
+               and serial flash probing.
+

README CBFS (Coreboot Filesystem) support · line 2705

Quoted 10 lines
README +10 -0
+               CONFIG_SPI_FLASH_MTD
+               Register SPI flash to the MTD subsystem. Needed for MTD operations.
+
+               CONFIG_SYS_SPI_U_BOOT_OFFS
+               Location in SPI to read U-Boot from.
+
+               CONFIG_DM_SPI, CONFIG_DM_SPI_FLASH
+               Use the Driver Model (DM) for SPI devices, and SPI flash.
+               For more details on how to port legacy driver to the new DM,
+               see doc/driver-model/spi-howto.txt

Sorry, not needed we have enough help on Kconfig files.

thanks!

Signature · 1 line
Jagan.