Commit 719d36ee36db92221e86b37edd1f7b922bde4f9d
Committed by
Tom Rini
1 parent
efce2442d3
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
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>
Showing 13 changed files with 18 additions and 16 deletions Side-by-side Diff
- README
- arch/Kconfig
- cmd/Kconfig
- configs/chromebit_mickey_defconfig
- configs/chromebook_jerry_defconfig
- configs/chromebook_minnie_defconfig
- configs/efi-x86_defconfig
- configs/sandbox_defconfig
- include/configs/efi-x86.h
- include/configs/sandbox.h
- include/configs/veyron.h
- include/configs/x86-common.h
- scripts/config_whitelist.txt
README
... | ... | @@ -2495,12 +2495,6 @@ |
2495 | 2495 | CONFIG_SF_DEFAULT_MODE (see include/spi.h) |
2496 | 2496 | CONFIG_SF_DEFAULT_SPEED in Hz |
2497 | 2497 | |
2498 | - CONFIG_CMD_SF_TEST | |
2499 | - | |
2500 | - Define this option to include a destructive SPI flash | |
2501 | - test ('sf test'). | |
2502 | - | |
2503 | -- SystemACE Support: | |
2504 | 2498 | CONFIG_SYSTEMACE |
2505 | 2499 | |
2506 | 2500 | Adding this option adds support for Xilinx SystemACE |
arch/Kconfig
... | ... | @@ -78,6 +78,7 @@ |
78 | 78 | imply LZMA |
79 | 79 | imply SCSI |
80 | 80 | imply CMD_SATA |
81 | + imply CMD_SF_TEST | |
81 | 82 | |
82 | 83 | config SH |
83 | 84 | bool "SuperH architecture" |
... | ... | @@ -111,6 +112,7 @@ |
111 | 112 | imply CMD_GETTIME |
112 | 113 | imply CMD_IO |
113 | 114 | imply CMD_IRQ |
115 | + imply CMD_SF_TEST | |
114 | 116 | |
115 | 117 | config XTENSA |
116 | 118 | bool "Xtensa architecture" |
cmd/Kconfig
... | ... | @@ -797,6 +797,17 @@ |
797 | 797 | help |
798 | 798 | SPI Flash support |
799 | 799 | |
800 | +config CMD_SF_TEST | |
801 | + bool "sf test - Allow testing of SPI flash" | |
802 | + help | |
803 | + Provides a way to test that SPI flash is working correctly. The | |
804 | + test is destructive, in that an area of SPI flash must be provided | |
805 | + for the test to use. Performance information is also provided, | |
806 | + measuring the performance of reading, writing and erasing in | |
807 | + Mbps (Million Bits Per Second). This value should approximately | |
808 | + equal the SPI bus speed for a single-bit-wide SPI bus, assuming | |
809 | + everything is working properly. | |
810 | + | |
800 | 811 | config CMD_SPI |
801 | 812 | bool "sspi" |
802 | 813 | help |
configs/chromebit_mickey_defconfig
configs/chromebook_jerry_defconfig
configs/chromebook_minnie_defconfig
configs/efi-x86_defconfig
configs/sandbox_defconfig
... | ... | @@ -41,6 +41,7 @@ |
41 | 41 | CONFIG_CMD_REMOTEPROC=y |
42 | 42 | CONFIG_CMD_GPIO=y |
43 | 43 | CONFIG_CMD_PCI=y |
44 | +CONFIG_CMD_READ=y | |
44 | 45 | CONFIG_CMD_TFTPPUT=y |
45 | 46 | CONFIG_CMD_TFTPSRV=y |
46 | 47 | CONFIG_CMD_RARP=y |
... | ... | @@ -193,7 +194,4 @@ |
193 | 194 | CONFIG_UT_TIME=y |
194 | 195 | CONFIG_UT_DM=y |
195 | 196 | CONFIG_UT_ENV=y |
196 | -CONFIG_CMD_MTDPARTS=y | |
197 | -CONFIG_CMD_MTDPARTS_SPREAD=y | |
198 | -CONFIG_CMD_READ=y |
include/configs/efi-x86.h
include/configs/sandbox.h
include/configs/veyron.h
include/configs/x86-common.h