summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-08-04 22:34:46 (GMT)
committerTom Rini <trini@konsulko.com>2017-08-11 19:41:56 (GMT)
commit719d36ee36db92221e86b37edd1f7b922bde4f9d (patch)
tree579da03a00d9176fcb73b8f227383e20eef66bb9 /cmd
parentefce2442d31a51322f2cab366285f91e5c9edc70 (diff)
downloadu-boot-fsl-qoriq-719d36ee36db92221e86b37edd1f7b922bde4f9d.tar.xz
Convert CONFIG_CMD_SF_TEST to Kconfig
This converts the following to Kconfig: CONFIG_CMD_SF_TEST Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 507e8a3..5ac8389 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -797,6 +797,17 @@ config CMD_SF
help
SPI Flash support
+config CMD_SF_TEST
+ bool "sf test - Allow testing of SPI flash"
+ help
+ Provides a way to test that SPI flash is working correctly. The
+ test is destructive, in that an area of SPI flash must be provided
+ for the test to use. Performance information is also provided,
+ measuring the performance of reading, writing and erasing in
+ Mbps (Million Bits Per Second). This value should approximately
+ equal the SPI bus speed for a single-bit-wide SPI bus, assuming
+ everything is working properly.
+
config CMD_SPI
bool "sspi"
help