diff options
author | Simon Glass <sjg@chromium.org> | 2017-08-04 16:34:46 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-11 15:41:56 -0400 |
commit | 719d36ee36db92221e86b37edd1f7b922bde4f9d (patch) | |
tree | 579da03a00d9176fcb73b8f227383e20eef66bb9 /cmd | |
parent | efce2442d31a51322f2cab366285f91e5c9edc70 (diff) | |
download | u-boot-719d36ee36db92221e86b37edd1f7b922bde4f9d.tar.gz |
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/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 507e8a3402..5ac8389e42 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 |