Skip to contentSkip to conversation

README: SPI Support: Add & explain undocumented SPI_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 Support: Add & explain undocumented SPI_FLASH options.

CONFIG_SPI_FLASH_BAR & CONFIG_SPI_FLASH_MTD are used without documentation. Documenting these options makes getting startup, configuration & testing easier.

---
 README | 10 ++++++++++
 1 file changed, 10 insertions(+)
README +10 -0
index 1d0b946..6c2bea6 100644
@@ -2689,6 +2689,16 @@ CBFS (Coreboot Filesystem) support
 		Timeout for waiting until spi transfer completed.
 		default: (CONFIG_SYS_HZ/100)     /* 10 ms */
 
+		CONFIG_SPI_FLASH_BAR
+		change buffer size, so the higher SPI memory bank becomes
+		accessible. This option is for SPI flash with at least two
+		memory banks (usually QSPI larger than 16MiB). For example,
+		check README.ti_qspi_dra_test.
+
+		CONFIG_SPI_FLASH_MTD
+		Register SPI Flash to the MTD subsystem to support mtd
+		partitioning and operations.
+
 - FPGA Support: CONFIG_FPGA
 
 		Enables FPGA subsystem.
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 README: SPI Support: Add & explain undocumented SPI_FLASH options.

Quoted 17 lines · Ahmed Samir Khalil

CONFIG_SPI_FLASH_BAR & CONFIG_SPI_FLASH_MTD are used without documentation. Documenting these options makes getting startup, configuration & testing easier.

---
 README | 10 ++++++++++
 1 file changed, 10 insertions(+)
README +0 -0
index 1d0b946..6c2bea6 100644
@@ -2689,6 +2689,16 @@ CBFS (Coreboot Filesystem) support
                Timeout for waiting until spi transfer completed.
                default: (CONFIG_SYS_HZ/100)     /* 10 ms */
 

README CBFS (Coreboot Filesystem) support · line 2701

Quoted 10 lines
README +10 -0
+               CONFIG_SPI_FLASH_BAR
+               change buffer size, so the higher SPI memory bank becomes
+               accessible. This option is for SPI flash with at least two
+               memory banks (usually QSPI larger than 16MiB). For example,
+               check README.ti_qspi_dra_test.
+
+               CONFIG_SPI_FLASH_MTD
+               Register SPI Flash to the MTD subsystem to support mtd
+               partitioning and operations.
+

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

thanks!

Signature · 1 line
Jagan.