From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CAA9AC433F5 for ; Wed, 9 Mar 2022 07:39:38 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B202983982; Wed, 9 Mar 2022 08:39:35 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="JCbYt1Aa"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B144683982; Wed, 9 Mar 2022 08:39:32 +0100 (CET) Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id ED88D8380F for ; Wed, 9 Mar 2022 08:39:28 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ilias.apalodimas@linaro.org Received: by mail-ej1-x62c.google.com with SMTP id gb39so3042550ejc.1 for ; Tue, 08 Mar 2022 23:39:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=ebvCSt0p8tCJJwls1puZHa5WNxb6UE4MylpvO5J+o2c=; b=JCbYt1AajsEP+TdFiq3UYlW9HKwEJuzS7hUrhWb7m2qPiQvLY1f07CZfC2pxSToJVs 8aRLJjFqfTOiSKVgcFuwVgD2477+4VhYZtFxhxxf1awjgCW/7yZH29z4lM/D+R2jnGv7 Cm0yHgq+5HTyi28+BmQNHV/kwX9Z8uKBGS9T3rQnp5ZfmcZ/N2kNiso8QfYBzut5h+gl Ju+EhYau/AlTE72wvbLXRlutPG8+DDvMshKca0Zls/BedfWiFehuULNK8HVzMzh8p4/Y CF+oXzzzC25gvF5plAGnbAPATycBEtkqv5C7wZbKMaR3rW4H7AaNBhjeSA63qPEgNoGh 5RJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ebvCSt0p8tCJJwls1puZHa5WNxb6UE4MylpvO5J+o2c=; b=4VeNaS3vHBTDm4FfGBCBwYaUm8WiKOdSAcJ4Jw5ZWpb1gdXLX5+CRpdoDeJSKep0cN 23WO+JntZ4zCNt1qwmflEmSQUXxy+leTD0gFqasNqprg8qSFL7V+Ed7JCkdzX0ArRSNA KjVohhcCZJErKNzAhDSkVxsGrRD+udGviXv+wjMvZbcODTpR0oGmV85px1L/U4Iuz3cf pn11Zfv/gWsEYXhTOfxyJChst791OTWghRC1ed/S/kiV+A7nhlguRCLxxotoglyQMKFc hdQB2cV+4pj02a6JnbKZu+HS1LKwXBFEf/0v3q421tlaG9lEH4CAOkgnZ3UZkEyfrATV 6NFQ== X-Gm-Message-State: AOAM5311d7ZlUFiHmHi+dOWstFtYUU0J2TDVqcaCV+mUu6qg5q6sut2d i7NrAEvKoQ/f6TUE1moa3WcCnesQBtfYEw== X-Google-Smtp-Source: ABdhPJx6ep0TnJmEAYfpAephT+ELqXm0IZTVZd9pdAnqaVoB8KGLN0WIC/jTGPHU1rwjg2oUUI0jeg== X-Received: by 2002:a17:907:7d91:b0:6d7:a1e:a47a with SMTP id oz17-20020a1709077d9100b006d70a1ea47amr17401366ejc.116.1646811568579; Tue, 08 Mar 2022 23:39:28 -0800 (PST) Received: from hades (athedsl-4461682.home.otenet.gr. [94.71.4.98]) by smtp.gmail.com with ESMTPSA id da23-20020a056402177700b0041394d8173csm435022edb.31.2022.03.08.23.39.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 23:39:28 -0800 (PST) Date: Wed, 9 Mar 2022 09:39:25 +0200 From: Ilias Apalodimas To: Sughosh Ganu Cc: u-boot@lists.denx.de, Simon Glass , Heinrich Schuchardt Subject: Re: [PATCH v3 7/8] doc: rng: Add documentation for the rng command Message-ID: References: <20220304133429.1047752-1-sughosh.ganu@linaro.org> <20220304133429.1047752-8-sughosh.ganu@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220304133429.1047752-8-sughosh.ganu@linaro.org> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean 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 > --- > > 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