aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorSimon Glass2012-10-08 08:16:02 -0500
committerTom Rini2012-12-19 16:51:57 -0600
commit2400727318a0a1ecf15a9deae85b0719c4c47aba (patch)
treefb79429be179f91400c7829b6acaf0cf361ce2a3 /README
parenta683c288d46336410ddfa2f5c70046dd1d4a5d1e (diff)
downloadu-boot-2400727318a0a1ecf15a9deae85b0719c4c47aba.tar.gz
u-boot-2400727318a0a1ecf15a9deae85b0719c4c47aba.tar.xz
u-boot-2400727318a0a1ecf15a9deae85b0719c4c47aba.zip
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 f386041140..1d2e1297d6 100644
--- a/README
+++ b/README
@@ -2390,6 +2390,11 @@ CBFS (Coreboot Filesystem) support
2390 CONFIG_SF_DEFAULT_MODE (see include/spi.h) 2390 CONFIG_SF_DEFAULT_MODE (see include/spi.h)
2391 CONFIG_SF_DEFAULT_SPEED in Hz 2391 CONFIG_SF_DEFAULT_SPEED in Hz
2392 2392
2393 CONFIG_CMD_SF_TEST
2394
2395 Define this option to include a destructive SPI flash
2396 test ('sf test').
2397
2393- SystemACE Support: 2398- SystemACE Support:
2394 CONFIG_SYSTEMACE 2399 CONFIG_SYSTEMACE
2395 2400