[PATCH v3 7/8] doc: rng: Add documentation for the rng command
Ilias Apalodimas
ilias.apalodimas at linaro.org
Wed Mar 9 08:39:25 CET 2022
On Fri, Mar 04, 2022 at 07:04:28PM +0530, Sughosh Ganu wrote:
> Add a usage document for the 'rng' u-boot command.
>
> Signed-off-by: Sughosh Ganu <sughosh.ganu at linaro.org>
> ---
>
> Changes since V2: None
>
> doc/usage/index.rst | 1 +
> doc/usage/rng.rst | 25 +++++++++++++++++++++++++
> 2 files changed, 26 insertions(+)
> create mode 100644 doc/usage/rng.rst
>
> diff --git a/doc/usage/index.rst b/doc/usage/index.rst
> index 0aacf531b2..5712a924ae 100644
> --- a/doc/usage/index.rst
> +++ b/doc/usage/index.rst
> @@ -45,6 +45,7 @@ Shell commands
> pstore
> qfw
> reset
> + rng
> sbi
> sf
> scp03
> diff --git a/doc/usage/rng.rst b/doc/usage/rng.rst
> new file mode 100644
> index 0000000000..87758f7d66
> --- /dev/null
> +++ b/doc/usage/rng.rst
> @@ -0,0 +1,25 @@
> +.. 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.
> +
> +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.
> --
> 2.25.1
>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
More information about the U-Boot
mailing list