[PATCH] doc: cmd: loady: Document new configuration

Pali Rohár pali at kernel.org
Mon Aug 29 18:36:22 CEST 2022


On Monday 29 August 2022 17:43:43 Heinrich Schuchardt wrote:
> On 8/29/22 17:36, Pali Rohár wrote:
> > Signed-off-by: Pali Rohár <pali at kernel.org>
> > ---
> >   doc/usage/cmd/loady.rst | 7 +++++++
> >   1 file changed, 7 insertions(+)
> > 
> > diff --git a/doc/usage/cmd/loady.rst b/doc/usage/cmd/loady.rst
> > index 2819cc72aef4..718af6e128d5 100644
> > --- a/doc/usage/cmd/loady.rst
> > +++ b/doc/usage/cmd/loady.rst
> > @@ -61,6 +61,13 @@ Configuration
> > 
> >   The command is only available if CONFIG_CMD_LOADB=y.
> > 
> > +Initial timeout in seconds while waiting for transfer is configured by
> > +config option CMD_LOADXY_TIMEOUT or by env variable $loadxy_timeout.
> 
> Thanks for updating the documentation.
> 
> I assume CONFIG_CMD_LOADXY_TIMEOUT is the fallback if $loadxy_timeout is
> not set? Maybe we can make this clearer here. Otherwise looks good to me.

Yes, CONFIG_CMD_LOADXY_TIMEOU is the default value which can be
overridden by $loadxy_timeout at runtime.

> Best regards
> 
> Heinrich
> 
> 
> > +Setting it to 0 means infinite timeout.
> > +
> > +Transfer can be cancelled by pressing 3 times <CTRL+C> after two seconds
> > +of inactivity on terminal.
> > +
> >   Return value
> >   ------------
> > 
> 


More information about the U-Boot mailing list