diff mbox

[U-Boot] README: SPI Support: Add & explain undocumented SPI_FLASH options.

Message ID 1465677916-9424-1-git-send-email-engkhalil86@gmail.com
State Rejected
Delegated to: Jagannadha Sutradharudu Teki
Headers show

Commit Message

Ahmed Samir Khalil June 11, 2016, 8:45 p.m. UTC
CONFIG_SPI_FLASH_BAR & CONFIG_SPI_FLASH_MTD are used without
documentation. Documenting these options makes getting startup,
configuration & testing easier.

Signed-off-by: Ahmed Samir Khalil <engkhalil86@gmail.com>
---
 README | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Jagan Teki July 15, 2016, 1:32 p.m. UTC | #1
On 12 June 2016 at 02:15, Ahmed Samir Khalil <engkhalil86@gmail.com> wrote:
> CONFIG_SPI_FLASH_BAR & CONFIG_SPI_FLASH_MTD are used without
> documentation. Documenting these options makes getting startup,
> configuration & testing easier.
>
> Signed-off-by: Ahmed Samir Khalil <engkhalil86@gmail.com>
> ---
>  README | 10 ++++++++++
>  1 file changed, 10 insertions(+)
>
> diff --git a/README b/README
> index 1d0b946..6c2bea6 100644
> --- a/README
> +++ b/README
> @@ -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.
> +

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

thanks!
diff mbox

Patch

diff --git a/README b/README
index 1d0b946..6c2bea6 100644
--- a/README
+++ b/README
@@ -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.