diff mbox series

doc: cmd: loady: Document new configuration

Message ID 20220829153623.12890-1-pali@kernel.org
State Accepted
Commit 9895bda2ed09fe6b38f553022c263d5aa975cf99
Delegated to: Tom Rini
Headers show
Series doc: cmd: loady: Document new configuration | expand

Commit Message

Pali Rohár Aug. 29, 2022, 3:36 p.m. UTC
Signed-off-by: Pali Rohár <pali@kernel.org>
---
 doc/usage/cmd/loady.rst | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Heinrich Schuchardt Aug. 29, 2022, 3:43 p.m. UTC | #1
On 8/29/22 17:36, Pali Rohár wrote:
> Signed-off-by: Pali Rohár <pali@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.

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
>   ------------
>
Pali Rohár Aug. 29, 2022, 4:36 p.m. UTC | #2
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@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
> >   ------------
> > 
>
Tom Rini Sept. 15, 2022, 2:02 p.m. UTC | #3
On Mon, Aug 29, 2022 at 05:36:23PM +0200, Pali Rohár wrote:

> Signed-off-by: Pali Rohár <pali@kernel.org>

Applied to u-boot/next, thanks!
diff mbox series

Patch

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.
+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
 ------------