]> git.sur5r.net Git - u-boot/commitdiff
README: Add description of SPI Flash (SF) command configuration
authorEric Nelson <eric.nelson@boundarydevices.com>
Tue, 31 Jan 2012 17:52:08 +0000 (10:52 -0700)
committerMike Frysinger <vapier@gentoo.org>
Sun, 12 Feb 2012 20:18:29 +0000 (15:18 -0500)
Acked-by: Jason Liu <jason.hui@linaro.org>
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
README

diff --git a/README b/README
index 43430576b2eface9929e3a08b5c0c8697ce6a8a1..52cf37c1f80315969ef50b8ee6f10e95013778c6 100644 (file)
--- 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