diff mbox series

Kconfig: Remove all default n options

Message ID 4ac3dca43448d6b6660c947cd7d50b1112cd235d.1713169203.git.michal.simek@amd.com
State Accepted
Commit 84dda5ce3e3ba126f1bf83f87c84f27714b5fe4a
Delegated to: Tom Rini
Headers show
Series Kconfig: Remove all default n options | expand

Commit Message

Michal Simek April 15, 2024, 8:20 a.m. UTC
default n doesn't need to be specified. It is default option anyway.
Similar changes have been done by commit 18370f14975c ("Kconfig: Remove all
default n/no options").

Signed-off-by: Michal Simek <michal.simek@amd.com>
---

 boot/Kconfig | 1 -
 cmd/Kconfig  | 2 --
 2 files changed, 3 deletions(-)

Comments

Mattijs Korpershoek April 16, 2024, 1:01 p.m. UTC | #1
Hi Michal,

Thank you for the patch.

On lun., avril 15, 2024 at 10:20, Michal Simek <michal.simek@amd.com> wrote:

> default n doesn't need to be specified. It is default option anyway.
> Similar changes have been done by commit 18370f14975c ("Kconfig: Remove all
> default n/no options").
>
> Signed-off-by: Michal Simek <michal.simek@amd.com>

Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>

> ---
>
>  boot/Kconfig | 1 -
>  cmd/Kconfig  | 2 --
>  2 files changed, 3 deletions(-)
>
> diff --git a/boot/Kconfig b/boot/Kconfig
> index 777e408e2438..bb61e8b24f1c 100644
> --- a/boot/Kconfig
> +++ b/boot/Kconfig
> @@ -816,7 +816,6 @@ if MEASURED_BOOT
>  
>  	config MEASURE_IGNORE_LOG
>  	bool "Ignore the existing event log"
> -	default n
>  	help
>  	  On platforms that use an event log memory region that persists
>  	  through system resets and are the first stage bootloader, then
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index 8eeb99eea5ed..6c8ad1b87e87 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -444,7 +444,6 @@ config CMD_ELF
>  
>  config CMD_ELF_FDT_SETUP
>  	bool "Flattened Device Tree setup in bootelf cmd"
> -	default n
>  	depends on CMD_ELF
>  	select LIB_LIBFDT
>  	select LMB
> @@ -2573,7 +2572,6 @@ config CMD_CROS_EC
>  config CMD_SCMI
>  	bool "Enable scmi command"
>  	depends on SCMI_FIRMWARE
> -	default n
>  	help
>  	  This command provides user interfaces to several SCMI (System
>  	  Control and Management Interface) protocols available on Arm
> -- 
> 2.44.0
Ilias Apalodimas April 16, 2024, 1:04 p.m. UTC | #2
On Mon, 15 Apr 2024 at 11:20, Michal Simek <michal.simek@amd.com> wrote:
>
> default n doesn't need to be specified. It is default option anyway.
> Similar changes have been done by commit 18370f14975c ("Kconfig: Remove all
> default n/no options").
>
> Signed-off-by: Michal Simek <michal.simek@amd.com>
> ---
>
>  boot/Kconfig | 1 -
>  cmd/Kconfig  | 2 --
>  2 files changed, 3 deletions(-)
>
> diff --git a/boot/Kconfig b/boot/Kconfig
> index 777e408e2438..bb61e8b24f1c 100644
> --- a/boot/Kconfig
> +++ b/boot/Kconfig
> @@ -816,7 +816,6 @@ if MEASURED_BOOT
>
>         config MEASURE_IGNORE_LOG
>         bool "Ignore the existing event log"
> -       default n
>         help
>           On platforms that use an event log memory region that persists
>           through system resets and are the first stage bootloader, then
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index 8eeb99eea5ed..6c8ad1b87e87 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -444,7 +444,6 @@ config CMD_ELF
>
>  config CMD_ELF_FDT_SETUP
>         bool "Flattened Device Tree setup in bootelf cmd"
> -       default n
>         depends on CMD_ELF
>         select LIB_LIBFDT
>         select LMB
> @@ -2573,7 +2572,6 @@ config CMD_CROS_EC
>  config CMD_SCMI
>         bool "Enable scmi command"
>         depends on SCMI_FIRMWARE
> -       default n
>         help
>           This command provides user interfaces to several SCMI (System
>           Control and Management Interface) protocols available on Arm
> --
> 2.44.0
>

Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Tom Rini April 19, 2024, 1:58 a.m. UTC | #3
On Mon, 15 Apr 2024 10:20:05 +0200, Michal Simek wrote:

> default n doesn't need to be specified. It is default option anyway.
> Similar changes have been done by commit 18370f14975c ("Kconfig: Remove all
> default n/no options").
> 
> 

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

Patch

diff --git a/boot/Kconfig b/boot/Kconfig
index 777e408e2438..bb61e8b24f1c 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -816,7 +816,6 @@  if MEASURED_BOOT
 
 	config MEASURE_IGNORE_LOG
 	bool "Ignore the existing event log"
-	default n
 	help
 	  On platforms that use an event log memory region that persists
 	  through system resets and are the first stage bootloader, then
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 8eeb99eea5ed..6c8ad1b87e87 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -444,7 +444,6 @@  config CMD_ELF
 
 config CMD_ELF_FDT_SETUP
 	bool "Flattened Device Tree setup in bootelf cmd"
-	default n
 	depends on CMD_ELF
 	select LIB_LIBFDT
 	select LMB
@@ -2573,7 +2572,6 @@  config CMD_CROS_EC
 config CMD_SCMI
 	bool "Enable scmi command"
 	depends on SCMI_FIRMWARE
-	default n
 	help
 	  This command provides user interfaces to several SCMI (System
 	  Control and Management Interface) protocols available on Arm