summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-10-08 13:16:02 (GMT)
committerTom Rini <trini@ti.com>2012-12-19 22:51:57 (GMT)
commit2400727318a0a1ecf15a9deae85b0719c4c47aba (patch)
treefb79429be179f91400c7829b6acaf0cf361ce2a3 /README
parenta683c288d46336410ddfa2f5c70046dd1d4a5d1e (diff)
downloadu-boot-2400727318a0a1ecf15a9deae85b0719c4c47aba.tar.xz
spi: Add SPI flash test
It is useful to have a basic SPI flash test, which tests that the SPI chip, the SPI bus and the driver are behaving. This test erases part of the flash, writes data and reads it back as a sanity check that all is well. Use CONFIG_SF_TEST to enable it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'README')
-rw-r--r--README5
1 files changed, 5 insertions, 0 deletions
diff --git a/README b/README
index f386041..1d2e129 100644
--- a/README
+++ b/README
@@ -2390,6 +2390,11 @@ CBFS (Coreboot Filesystem) support
CONFIG_SF_DEFAULT_MODE (see include/spi.h)
CONFIG_SF_DEFAULT_SPEED in Hz
+ CONFIG_CMD_SF_TEST
+
+ Define this option to include a destructive SPI flash
+ test ('sf test').
+
- SystemACE Support:
CONFIG_SYSTEMACE