diff mbox

[U-Boot,V6,-,Part,2,-,2/2] README: Add description of SPI Flash (SF) command configuration

Message ID 1328032330-20883-8-git-send-email-eric.nelson@boundarydevices.com
State Accepted
Delegated to: Mike Frysinger
Headers show

Commit Message

Eric Nelson Jan. 31, 2012, 5:52 p.m. UTC
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
---
 README |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

Comments

Jason Liu Feb. 1, 2012, 11:27 a.m. UTC | #1
On Wed, Feb 1, 2012 at 1:52 AM, Eric Nelson
<eric.nelson@boundarydevices.com> wrote:
> Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
> ---
>  README |   20 ++++++++++++++++++++
>  1 files changed, 20 insertions(+), 0 deletions(-)

Acked-by: Jason Liu <jason.hui@linaro.org>

>
> diff --git a/README b/README
> index 9d713e8..4dbebcb 100644
> --- a/README
> +++ b/README
> @@ -809,6 +809,7 @@ The following options need to be configured:
>                                          (requires CONFIG_CMD_I2C)
>                CONFIG_CMD_SETGETDCR      Support for DCR Register access
>                                          (4xx only)
> +               CONFIG_CMD_SF           * Read/write/erase SPI NOR flash
>                CONFIG_CMD_SHA1SUM        print sha1 memory digest
>                                          (requires CONFIG_CMD_MEMORY)
>                CONFIG_CMD_SOURCE         "source" command Support
> @@ -2191,6 +2192,25 @@ The following options need to be configured:
>                allows to read/write in Dataflash via the standard
>                commands cp, md...
>
> +- Serial Flash support
> +               CONFIG_CMD_SF
> +
> +               Defining this option enables SPI flash commands
> +               'sf probe/read/write/erase/update'.
> +
> +               Usage requires an initial 'probe' to define the serial
> +               flash parameters, followed by read/write/erase/update
> +               commands.
> +
> +               The following defaults may be provided by the platform
> +               to handle the common case when only a single serial
> +               flash is present on the system.
> +
> +               CONFIG_SF_DEFAULT_BUS           Bus identifier
> +               CONFIG_SF_DEFAULT_CS            Chip-select
> +               CONFIG_SF_DEFAULT_MODE          (see include/spi.h)
> +               CONFIG_SF_DEFAULT_SPEED         in Hz
> +
>  - SystemACE Support:
>                CONFIG_SYSTEMACE
>
> --
> 1.7.1
>
diff mbox

Patch

diff --git a/README b/README
index 9d713e8..4dbebcb 100644
--- a/README
+++ b/README
@@ -809,6 +809,7 @@  The following options need to be configured:
 					  (requires CONFIG_CMD_I2C)
 		CONFIG_CMD_SETGETDCR	  Support for DCR Register access
 					  (4xx only)
+		CONFIG_CMD_SF		* Read/write/erase SPI NOR flash
 		CONFIG_CMD_SHA1SUM	  print sha1 memory digest
 					  (requires CONFIG_CMD_MEMORY)
 		CONFIG_CMD_SOURCE	  "source" command Support
@@ -2191,6 +2192,25 @@  The following options need to be configured:
 		allows to read/write in Dataflash via the standard
 		commands cp, md...
 
+- Serial Flash support
+		CONFIG_CMD_SF
+
+		Defining this option enables SPI flash commands
+		'sf probe/read/write/erase/update'.
+
+		Usage requires an initial 'probe' to define the serial
+		flash parameters, followed by read/write/erase/update
+		commands.
+
+		The following defaults may be provided by the platform
+		to handle the common case when only a single serial
+		flash is present on the system.
+
+		CONFIG_SF_DEFAULT_BUS		Bus identifier
+		CONFIG_SF_DEFAULT_CS		Chip-select
+		CONFIG_SF_DEFAULT_MODE 		(see include/spi.h)
+		CONFIG_SF_DEFAULT_SPEED		in Hz
+
 - SystemACE Support:
 		CONFIG_SYSTEMACE