diff options
| author | Sughosh Ganu <sughosh.ganu@linaro.org> | 2022-07-22 21:32:08 +0530 |
|---|---|---|
| committer | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2022-08-02 23:50:02 +0300 |
| commit | 4bdbb54ee5f2abd6ee3d0ec6bcfc627ed7a6cd41 (patch) | |
| tree | 756c0eef75d2381f623e8d5dfe2edfd9f7b7304d /doc/usage/cmd | |
| parent | c79e274c7c6637eeaf631988b18dd68a30596778 (diff) | |
doc: rng: Add documentation for the rng command
Add a usage document for the 'rng' u-boot command.
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'doc/usage/cmd')
| -rw-r--r-- | doc/usage/cmd/rng.rst | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/usage/cmd/rng.rst b/doc/usage/cmd/rng.rst new file mode 100644 index 00000000000..1a352da41a7 --- /dev/null +++ b/doc/usage/cmd/rng.rst @@ -0,0 +1,26 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +rng command +=========== + +Synopsis +-------- + +:: + + rng [devnum [n]] + +Description +----------- + +The *rng* command reads the random number generator(RNG) device and +prints the random bytes read on the console. A maximum of 64 bytes can +be read in one invocation of the command. + +devnum + The RNG device from which the random bytes are to be + read. Defaults to 0. + +n + Number of random bytes to be read and displayed on the + console. Default value is 0x40. Max value is 0x40. |
