commit | 2400727318a0a1ecf15a9deae85b0719c4c47aba | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Oct 08 13:16:02 2012 +0000 |
committer | Tom Rini <trini@ti.com> | Wed Dec 19 15:51:57 2012 -0700 |
tree | fb79429be179f91400c7829b6acaf0cf361ce2a3 | |
parent | a683c288d46336410ddfa2f5c70046dd1d4a5d1e [diff] |
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>