diff mbox

[U-Boot,2/6] doc: bootdelay: drop explanation about CONFIG_BOOTDELAY from README

Message ID 1466487167-18987-3-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 9060970f4d89c79212982afbf9148dcbc94dcf75
Delegated to: Tom Rini
Headers show

Commit Message

Masahiro Yamada June 21, 2016, 5:32 a.m. UTC
The same information now exists in common/Kconfig.  Do not duplicate
documentation from the point of view of maintainability.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 README         | 17 -----------------
 common/Kconfig |  2 ++
 2 files changed, 2 insertions(+), 17 deletions(-)

Comments

Simon Glass June 21, 2016, 4:05 p.m. UTC | #1
On 20 June 2016 at 23:32, Masahiro Yamada <yamada.masahiro@socionext.com> wrote:
> The same information now exists in common/Kconfig.  Do not duplicate
> documentation from the point of view of maintainability.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
>  README         | 17 -----------------
>  common/Kconfig |  2 ++
>  2 files changed, 2 insertions(+), 17 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>
Heiko Schocher June 22, 2016, 5:49 a.m. UTC | #2
Hello Masahiro,

Am 21.06.2016 um 07:32 schrieb Masahiro Yamada:
> The same information now exists in common/Kconfig.  Do not duplicate
> documentation from the point of view of maintainability.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
>   README         | 17 -----------------
>   common/Kconfig |  2 ++
>   2 files changed, 2 insertions(+), 17 deletions(-)

Thanks!

Reviewed-by: Heiko Schocher <hs@denx.de>

bye,
Heiko
>
> diff --git a/README b/README
> index 03bed18..26d5ad2 100644
> --- a/README
> +++ b/README
> @@ -890,23 +890,6 @@ The following options need to be configured:
>   		'Sane' compilers will generate smaller code if
>   		CONFIG_PRE_CON_BUF_SZ is a power of 2
>
> -- Boot Delay:	CONFIG_BOOTDELAY - in seconds
> -		Delay before automatically booting the default image;
> -		set to -1 to disable autoboot.
> -		set to -2 to autoboot with no delay and not check for abort
> -		(even when CONFIG_ZERO_BOOTDELAY_CHECK is defined).
> -
> -		See doc/README.autoboot for these options that
> -		work with CONFIG_BOOTDELAY. None are required.
> -		CONFIG_BOOT_RETRY_TIME
> -		CONFIG_BOOT_RETRY_MIN
> -		CONFIG_AUTOBOOT_KEYED
> -		CONFIG_AUTOBOOT_PROMPT
> -		CONFIG_AUTOBOOT_DELAY_STR
> -		CONFIG_AUTOBOOT_STOP_STR
> -		CONFIG_ZERO_BOOTDELAY_CHECK
> -		CONFIG_RESET_TO_RETRY
> -
>   - Autoboot Command:
>   		CONFIG_BOOTCOMMAND
>   		Only needed when CONFIG_BOOTDELAY is enabled;
> diff --git a/common/Kconfig b/common/Kconfig
> index ada4ddb..a94c7b9 100644
> --- a/common/Kconfig
> +++ b/common/Kconfig
> @@ -107,6 +107,8 @@ config BOOTDELAY
>   	  set to -2 to autoboot with no delay and not check for abort
>   	  (even when CONFIG_ZERO_BOOTDELAY_CHECK is defined).
>
> +	  See doc/README.autoboot for details.
> +
>   config CONSOLE_RECORD
>   	bool "Console recording"
>   	help
>
diff mbox

Patch

diff --git a/README b/README
index 03bed18..26d5ad2 100644
--- a/README
+++ b/README
@@ -890,23 +890,6 @@  The following options need to be configured:
 		'Sane' compilers will generate smaller code if
 		CONFIG_PRE_CON_BUF_SZ is a power of 2
 
-- Boot Delay:	CONFIG_BOOTDELAY - in seconds
-		Delay before automatically booting the default image;
-		set to -1 to disable autoboot.
-		set to -2 to autoboot with no delay and not check for abort
-		(even when CONFIG_ZERO_BOOTDELAY_CHECK is defined).
-
-		See doc/README.autoboot for these options that
-		work with CONFIG_BOOTDELAY. None are required.
-		CONFIG_BOOT_RETRY_TIME
-		CONFIG_BOOT_RETRY_MIN
-		CONFIG_AUTOBOOT_KEYED
-		CONFIG_AUTOBOOT_PROMPT
-		CONFIG_AUTOBOOT_DELAY_STR
-		CONFIG_AUTOBOOT_STOP_STR
-		CONFIG_ZERO_BOOTDELAY_CHECK
-		CONFIG_RESET_TO_RETRY
-
 - Autoboot Command:
 		CONFIG_BOOTCOMMAND
 		Only needed when CONFIG_BOOTDELAY is enabled;
diff --git a/common/Kconfig b/common/Kconfig
index ada4ddb..a94c7b9 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -107,6 +107,8 @@  config BOOTDELAY
 	  set to -2 to autoboot with no delay and not check for abort
 	  (even when CONFIG_ZERO_BOOTDELAY_CHECK is defined).
 
+	  See doc/README.autoboot for details.
+
 config CONSOLE_RECORD
 	bool "Console recording"
 	help