diff options
author | Jean-Jacques Hiblot | 2019-07-02 14:23:26 +0200 |
---|---|---|
committer | Tom Rini | 2019-07-18 11:31:27 -0400 |
commit | 803e1a3d3890621bf588544bc389d973ea9e6cd4 (patch) | |
tree | fb87cda44ab1e747ff1620822d0a5561e3c77f67 /cmd/Kconfig | |
parent | 849f9bef429dd1a2eabaf93bef2bd3442b4e0829 (diff) |
cmd: mem: Add a command to fill the memory with random data
This command fills the memory with data produced by rand().
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r-- | cmd/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index ec746fe8255..175c6ad9e33 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -571,6 +571,13 @@ config CMD_MEMORY base - print or set address offset loop - initialize loop on address range +config CMD_RANDOM + bool "random" + default y + depends on CMD_MEMORY && (LIB_RAND || LIB_HW_RAND) + help + random - fill memory with random data + config CMD_MEMTEST bool "memtest" help |