diff mbox

[U-Boot] README: SPI: Add & explain missed SPI & serial flash options.

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

Commit Message

Ahmed Samir Khalil June 11, 2016, 1:30 p.m. UTC
There are no README documentation about these options of SPI &
serial flash devices. Documenting these options makes getting
startup, configuration & testing easier.

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

Comments

Jagan Teki July 15, 2016, 1:31 p.m. UTC | #1
On 11 June 2016 at 19:00, Ahmed Samir Khalil <engkhalil86@gmail.com> wrote:
> There are no README documentation about these options of SPI &
> serial flash devices. Documenting these options makes getting
> startup, configuration & testing easier.
>
> Signed-off-by: Ahmed Samir Khalil <engkhalil86@gmail.com>
> ---
>  README | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
>
> diff --git a/README b/README
> index 1d0b946..9cf3a05 100644
> --- a/README
> +++ b/README
> @@ -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

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

thanks!
diff mbox

Patch

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