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.g...@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.apalodi...@linaro.org>
- [PATCH v3 3/8] tpm: rng: Add driver model interface for T... Sughosh Ganu
- Re: [PATCH v3 3/8] tpm: rng: Add driver model interf... Simon Glass
- Re: [PATCH v3 3/8] tpm: rng: Add driver model in... Sughosh Ganu
- Re: [PATCH v3 3/8] tpm: rng: Add driver mode... Sughosh Ganu
- Re: [PATCH v3 3/8] tpm: rng: Add driver ... Simon Glass
- [PATCH v3 5/8] qemu: arm: Remove platform specific functi... Sughosh Ganu
- Re: [PATCH v3 5/8] qemu: arm: Remove platform specif... Simon Glass
- Re: [PATCH v3 5/8] qemu: arm: Remove platform sp... Ilias Apalodimas
- [PATCH v3 7/8] doc: rng: Add documentation for the rng co... Sughosh Ganu
- Re: [PATCH v3 7/8] doc: rng: Add documentation for t... Simon Glass
- Re: [PATCH v3 7/8] doc: rng: Add documentation for t... Ilias Apalodimas
- [PATCH v3 4/8] tpm: Add the RNG child device Sughosh Ganu
- Re: [PATCH v3 4/8] tpm: Add the RNG child device Simon Glass
- Re: [PATCH v3 4/8] tpm: Add the RNG child device Sughosh Ganu
- [PATCH v3 8/8] test: rng: Add a UT testcase for the rng c... Sughosh Ganu
- Re: [PATCH v3 8/8] test: rng: Add a UT testcase for ... Simon Glass
- Re: [PATCH v3 8/8] test: rng: Add a UT testcase ... Sughosh Ganu
- Re: [PATCH v3 8/8] test: rng: Add a UT testc... Simon Glass
- Re: [PATCH v3 8/8] test: rng: Add a UT t... Sughosh Ganu
- Re: [PATCH v3 8/8] test: rng: Add a... Simon Glass
- Re: [PATCH v3 8/8] test: rng: Add a UT testcase for ... Sughosh Ganu