From 4f24ac08afccd5f51f0b4c7023fc8cf45efe8163 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Tue, 24 Dec 2019 22:17:37 +0100 Subject: cmd: add rng command For the RNG uclass we currently only have a test working on the sandbox. Provide a command to test the hardware random number generator on non-sandbox systems. Signed-off-by: Heinrich Schuchardt --- cmd/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cmd/Kconfig') diff --git a/cmd/Kconfig b/cmd/Kconfig index a6bfa87e08..7a78343e6b 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1672,6 +1672,13 @@ config CMD_GETTIME milliseconds. See also the 'bootstage' command which provides more flexibility for boot timing. +config CMD_RNG + bool "rng command" + depends on DM_RNG + select HEXDUMP + help + Print bytes from the hardware random number generator. + # TODO: rename to CMD_SLEEP config CMD_MISC bool "sleep" -- cgit