summaryrefslogtreecommitdiff
path: root/common/flash.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-10-08 13:16:02 +0000
committerTom Rini <trini@ti.com>2012-12-19 15:51:57 -0700
commit2400727318a0a1ecf15a9deae85b0719c4c47aba (patch)
treefb79429be179f91400c7829b6acaf0cf361ce2a3 /common/flash.c
parenta683c288d46336410ddfa2f5c70046dd1d4a5d1e (diff)
downloadu-boot-imx-2400727318a0a1ecf15a9deae85b0719c4c47aba.zip
u-boot-imx-2400727318a0a1ecf15a9deae85b0719c4c47aba.tar.gz
u-boot-imx-2400727318a0a1ecf15a9deae85b0719c4c47aba.tar.bz2
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 'common/flash.c')
0 files changed, 0 insertions, 0 deletions