Re: [PATCH] Kconfig: Remove all default n/no options

2023-10-30 Thread Tom Rini
On Wed, Oct 25, 2023 at 09:25:37AM +0200, Michal Simek wrote:

> Similar change was done by commit b4c2c151b14b ("Kconfig: Remove all
> default n/no options") and again sync is required.
> 
> default n/no doesn't need to be specified. It is default option anyway.
> 
> Signed-off-by: Michal Simek 
> Reviewed-by: Svyatoslav Ryhel  # tegra
> Reviewed-by: Tom Rini 
> Reviewed-by: Angelo Dureghello 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Re: [PATCH] Kconfig: Remove all default n/no options

2023-10-29 Thread Angelo Dureghello

Hi Michal,

thanks, built all m68k stuff, no issues.
Also tested on stmark2, all is ok.

Reviewed-by: Angelo Dureghello 

On 25/10/23 9:25 AM, Michal Simek wrote:

Similar change was done by commit b4c2c151b14b ("Kconfig: Remove all
default n/no options") and again sync is required.

default n/no doesn't need to be specified. It is default option anyway.

Signed-off-by: Michal Simek 
---

  arch/arm/mach-imx/mxs/Kconfig  | 2 --
  arch/arm/mach-rockchip/Kconfig | 1 -
  arch/arm/mach-snapdragon/Kconfig   | 1 -
  arch/arm/mach-sunxi/Kconfig| 1 -
  arch/arm/mach-tegra/Kconfig| 1 -
  arch/m68k/Kconfig  | 1 -
  arch/riscv/Kconfig | 1 -
  board/asus/grouper/Kconfig | 2 --
  board/asus/transformer-t30/Kconfig | 1 -
  board/keymile/Kconfig  | 3 ---
  board/lg/x3-t30/Kconfig| 2 --
  cmd/Kconfig| 3 ---
  drivers/crypto/fsl/Kconfig | 1 -
  drivers/memory/Kconfig | 1 -
  drivers/misc/Kconfig   | 1 -
  drivers/mtd/nand/raw/Kconfig   | 1 -
  drivers/mtd/spi/Kconfig| 1 -
  drivers/sm/Kconfig | 1 -
  drivers/spi/Kconfig| 1 -
  drivers/usb/host/Kconfig   | 2 --
  fs/ubifs/Kconfig   | 1 -
  21 files changed, 29 deletions(-)

diff --git a/arch/arm/mach-imx/mxs/Kconfig b/arch/arm/mach-imx/mxs/Kconfig
index ccce6a78caa2..d2e4205c5ce5 100644
--- a/arch/arm/mach-imx/mxs/Kconfig
+++ b/arch/arm/mach-imx/mxs/Kconfig
@@ -54,7 +54,6 @@ config SYS_SOC
  
  config SPL_MXS_PMU_MINIMAL_VDD5V_CURRENT

bool "Force minimal current draw from VDD5V by MX28 PMU"
-   default n
help
  After setting this option, the current drawn from VDD5V
  by the PMU is reduced to zero - the DCDC_BATT is used as
@@ -62,7 +61,6 @@ config SPL_MXS_PMU_MINIMAL_VDD5V_CURRENT
  
  config SPL_MXS_PMU_DISABLE_BATT_CHARGE

bool "Disable Battery Charging in MX28 PMU"
-   default n
  
  config SPL_MXS_PMU_ENABLE_4P2_LINEAR_REGULATOR

bool "Enable the 4P2 linear regulator in MX28 PMU"
diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index c43c185c17c5..a6c69c300d00 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -450,7 +450,6 @@ config ROCKCHIP_BOOT_MODE_REG
  config ROCKCHIP_RK8XX_DISABLE_BOOT_ON_POWERON
bool "Disable device boot on power plug-in"
depends on PMIC_RK8XX
-   default n
---help---
  Say Y here to prevent the device from booting up because of a plug-in
  event. When set, the device will boot briefly to determine why it was
diff --git a/arch/arm/mach-snapdragon/Kconfig b/arch/arm/mach-snapdragon/Kconfig
index 0e073045be54..2fc1521e2d30 100644
--- a/arch/arm/mach-snapdragon/Kconfig
+++ b/arch/arm/mach-snapdragon/Kconfig
@@ -14,7 +14,6 @@ config SPL_SYS_MALLOC_F_LEN
  
  config SDM845

bool "Qualcomm Snapdragon 845 SoC"
-   default n
select LINUX_KERNEL_IMAGE_HEADER
  
  config LNX_KRNL_IMG_TEXT_OFFSET_BASE

diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index 40ca7d7b3a99..a10e4c06b6a3 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -811,7 +811,6 @@ config AXP_GPIO
  config AXP_DISABLE_BOOT_ON_POWERON
bool "Disable device boot on power plug-in"
depends on AXP209_POWER || AXP221_POWER || AXP809_POWER || AXP818_POWER
-   default n
---help---
  Say Y here to prevent the device from booting up because of a plug-in
  event. When set, the device will boot into the SPL briefly to
diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig
index 464bd0798f62..0e94b84fe657 100644
--- a/arch/arm/mach-tegra/Kconfig
+++ b/arch/arm/mach-tegra/Kconfig
@@ -18,7 +18,6 @@ config TEGRA_CLKRST
  config TEGRA_CRYPTO
bool "Tegra AES128 crypto module"
select AES
-   default n
  
  config TEGRA_GP_PADCTRL

bool
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig
index 587edd50d7e8..b288c65e7fd1 100644
--- a/arch/m68k/Kconfig
+++ b/arch/m68k/Kconfig
@@ -200,7 +200,6 @@ source "board/sysam/stmark2/Kconfig"
  
  config M68K_QEMU

bool "Build with workarounds for incomplete QEMU emulation"
-   default n
help
  QEMU 8.x currently does not implement RAMBAR accesses and
  DMA timers. Enable this option for U-Boot CI purposes only
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index e291456530bd..8fc81fb284cd 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -68,7 +68,6 @@ config SPL_SYS_DCACHE_OFF
  config SPL_ZERO_MEM_BEFORE_USE
bool "Zero memory before use"
depends on SPL
-   default n
help
  Zero stack/GD/malloc area in SPL before using them, this is needed for
  Sifive core devices that uses L2 cache to store SPL.
diff --git a/board/asus/grouper/Kconfig b/board/asus/

Re: [PATCH] Kconfig: Remove all default n/no options

2023-10-25 Thread Tom Rini
On Wed, Oct 25, 2023 at 03:44:11PM +0200, Michal Simek wrote:
> 
> 
> On 10/25/23 15:40, Tom Rini wrote:
> > :n Wed, Oct 25, 2023 at 09:25:37AM +0200, Michal Simek wrote:
> > > Similar change was done by commit b4c2c151b14b ("Kconfig: Remove all
> > 
> > > default n/no options") and again sync is required.
> > > 
> > > default n/no doesn't need to be specified. It is default option anyway.
> > > 
> > > Signed-off-by: Michal Simek 
> > 
> > Thanks.  It would be good to add something to checkpatch.pl for this,
> > and it would be appropriate to do it outside of the u-boot specific
> > checks I think.  A similar patch could be done for the kernel as I see
> > 519 instances there currently.
> 
> yes that would be good.
> 
> > 
> > Reviewed-by: Tom Rini 
> 
> Tom: Are you using qconfig.py for defconfig syncup?

Yes, qconfig.py -sC, just like before the rename. And aside, I'm pretty
sure I remembered to run it prior to tagging -rc1 this time.

-- 
Tom


signature.asc
Description: PGP signature


Re: [PATCH] Kconfig: Remove all default n/no options

2023-10-25 Thread Tom Rini
:n Wed, Oct 25, 2023 at 09:25:37AM +0200, Michal Simek wrote:
> Similar change was done by commit b4c2c151b14b ("Kconfig: Remove all

> default n/no options") and again sync is required.
> 
> default n/no doesn't need to be specified. It is default option anyway.
> 
> Signed-off-by: Michal Simek 

Thanks.  It would be good to add something to checkpatch.pl for this,
and it would be appropriate to do it outside of the u-boot specific
checks I think.  A similar patch could be done for the kernel as I see
519 instances there currently.

Reviewed-by: Tom Rini 

-- 
Tom


signature.asc
Description: PGP signature


Re: [PATCH] Kconfig: Remove all default n/no options

2023-10-25 Thread Michal Simek




On 10/25/23 15:40, Tom Rini wrote:

:n Wed, Oct 25, 2023 at 09:25:37AM +0200, Michal Simek wrote:

Similar change was done by commit b4c2c151b14b ("Kconfig: Remove all



default n/no options") and again sync is required.

default n/no doesn't need to be specified. It is default option anyway.

Signed-off-by: Michal Simek 


Thanks.  It would be good to add something to checkpatch.pl for this,
and it would be appropriate to do it outside of the u-boot specific
checks I think.  A similar patch could be done for the kernel as I see
519 instances there currently.


yes that would be good.



Reviewed-by: Tom Rini 


Tom: Are you using qconfig.py for defconfig syncup?

Thanks,
Michal








Re: [PATCH] Kconfig: Remove all default n/no options

2023-10-25 Thread Svyatoslav Ryhel
ср, 25 жовт. 2023 р. о 10:25 Michal Simek  пише:
>
> Similar change was done by commit b4c2c151b14b ("Kconfig: Remove all
> default n/no options") and again sync is required.
>
> default n/no doesn't need to be specified. It is default option anyway.
>
> Signed-off-by: Michal Simek 
> ---
>
>  arch/arm/mach-imx/mxs/Kconfig  | 2 --
>  arch/arm/mach-rockchip/Kconfig | 1 -
>  arch/arm/mach-snapdragon/Kconfig   | 1 -
>  arch/arm/mach-sunxi/Kconfig| 1 -
>  arch/arm/mach-tegra/Kconfig| 1 -
>  arch/m68k/Kconfig  | 1 -
>  arch/riscv/Kconfig | 1 -
>  board/asus/grouper/Kconfig | 2 --
>  board/asus/transformer-t30/Kconfig | 1 -
>  board/keymile/Kconfig  | 3 ---
>  board/lg/x3-t30/Kconfig| 2 --
>  cmd/Kconfig| 3 ---
>  drivers/crypto/fsl/Kconfig | 1 -
>  drivers/memory/Kconfig | 1 -
>  drivers/misc/Kconfig   | 1 -
>  drivers/mtd/nand/raw/Kconfig   | 1 -
>  drivers/mtd/spi/Kconfig| 1 -
>  drivers/sm/Kconfig | 1 -
>  drivers/spi/Kconfig| 1 -
>  drivers/usb/host/Kconfig   | 2 --
>  fs/ubifs/Kconfig   | 1 -
>  21 files changed, 29 deletions(-)
>
> diff --git a/arch/arm/mach-imx/mxs/Kconfig b/arch/arm/mach-imx/mxs/Kconfig
> index ccce6a78caa2..d2e4205c5ce5 100644
> --- a/arch/arm/mach-imx/mxs/Kconfig
> +++ b/arch/arm/mach-imx/mxs/Kconfig
> @@ -54,7 +54,6 @@ config SYS_SOC
>
>  config SPL_MXS_PMU_MINIMAL_VDD5V_CURRENT
> bool "Force minimal current draw from VDD5V by MX28 PMU"
> -   default n
> help
>   After setting this option, the current drawn from VDD5V
>   by the PMU is reduced to zero - the DCDC_BATT is used as
> @@ -62,7 +61,6 @@ config SPL_MXS_PMU_MINIMAL_VDD5V_CURRENT
>
>  config SPL_MXS_PMU_DISABLE_BATT_CHARGE
> bool "Disable Battery Charging in MX28 PMU"
> -   default n
>
>  config SPL_MXS_PMU_ENABLE_4P2_LINEAR_REGULATOR
> bool "Enable the 4P2 linear regulator in MX28 PMU"
> diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
> index c43c185c17c5..a6c69c300d00 100644
> --- a/arch/arm/mach-rockchip/Kconfig
> +++ b/arch/arm/mach-rockchip/Kconfig
> @@ -450,7 +450,6 @@ config ROCKCHIP_BOOT_MODE_REG
>  config ROCKCHIP_RK8XX_DISABLE_BOOT_ON_POWERON
> bool "Disable device boot on power plug-in"
> depends on PMIC_RK8XX
> -   default n
> ---help---
>   Say Y here to prevent the device from booting up because of a 
> plug-in
>   event. When set, the device will boot briefly to determine why it 
> was
> diff --git a/arch/arm/mach-snapdragon/Kconfig 
> b/arch/arm/mach-snapdragon/Kconfig
> index 0e073045be54..2fc1521e2d30 100644
> --- a/arch/arm/mach-snapdragon/Kconfig
> +++ b/arch/arm/mach-snapdragon/Kconfig
> @@ -14,7 +14,6 @@ config SPL_SYS_MALLOC_F_LEN
>
>  config SDM845
> bool "Qualcomm Snapdragon 845 SoC"
> -   default n
> select LINUX_KERNEL_IMAGE_HEADER
>
>  config LNX_KRNL_IMG_TEXT_OFFSET_BASE
> diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
> index 40ca7d7b3a99..a10e4c06b6a3 100644
> --- a/arch/arm/mach-sunxi/Kconfig
> +++ b/arch/arm/mach-sunxi/Kconfig
> @@ -811,7 +811,6 @@ config AXP_GPIO
>  config AXP_DISABLE_BOOT_ON_POWERON
> bool "Disable device boot on power plug-in"
> depends on AXP209_POWER || AXP221_POWER || AXP809_POWER || 
> AXP818_POWER
> -   default n
> ---help---
>   Say Y here to prevent the device from booting up because of a 
> plug-in
>   event. When set, the device will boot into the SPL briefly to
> diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig
> index 464bd0798f62..0e94b84fe657 100644
> --- a/arch/arm/mach-tegra/Kconfig
> +++ b/arch/arm/mach-tegra/Kconfig
> @@ -18,7 +18,6 @@ config TEGRA_CLKRST
>  config TEGRA_CRYPTO
> bool "Tegra AES128 crypto module"
> select AES
> -   default n
>
>  config TEGRA_GP_PADCTRL
> bool
> diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig
> index 587edd50d7e8..b288c65e7fd1 100644
> --- a/arch/m68k/Kconfig
> +++ b/arch/m68k/Kconfig
> @@ -200,7 +200,6 @@ source "board/sysam/stmark2/Kconfig"
>
>  config M68K_QEMU
> bool "Build with workarounds for incomplete QEMU emulation"
> -   default n
> help
>   QEMU 8.x currently does not implement RAMBAR accesses and
>   DMA timers. Enable this option for U-Boot CI purposes only
> diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
> index e291456530bd..8fc81fb284cd 100644
> --- a/arch/riscv/Kconfig
> +++ b/arch/riscv/Kconfig
> @@ -68,7 +68,6 @@ config SPL_SYS_DCACHE_OFF
>  config SPL_ZERO_MEM_BEFORE_USE
> bool "Zero memory before use"
> depends on SPL
> -   default n
> help
>   Zero stack/GD/malloc area in SPL before using them, this is needed 
> for
>   Sifive core devices t

[PATCH] Kconfig: Remove all default n/no options

2023-10-25 Thread Michal Simek
Similar change was done by commit b4c2c151b14b ("Kconfig: Remove all
default n/no options") and again sync is required.

default n/no doesn't need to be specified. It is default option anyway.

Signed-off-by: Michal Simek 
---

 arch/arm/mach-imx/mxs/Kconfig  | 2 --
 arch/arm/mach-rockchip/Kconfig | 1 -
 arch/arm/mach-snapdragon/Kconfig   | 1 -
 arch/arm/mach-sunxi/Kconfig| 1 -
 arch/arm/mach-tegra/Kconfig| 1 -
 arch/m68k/Kconfig  | 1 -
 arch/riscv/Kconfig | 1 -
 board/asus/grouper/Kconfig | 2 --
 board/asus/transformer-t30/Kconfig | 1 -
 board/keymile/Kconfig  | 3 ---
 board/lg/x3-t30/Kconfig| 2 --
 cmd/Kconfig| 3 ---
 drivers/crypto/fsl/Kconfig | 1 -
 drivers/memory/Kconfig | 1 -
 drivers/misc/Kconfig   | 1 -
 drivers/mtd/nand/raw/Kconfig   | 1 -
 drivers/mtd/spi/Kconfig| 1 -
 drivers/sm/Kconfig | 1 -
 drivers/spi/Kconfig| 1 -
 drivers/usb/host/Kconfig   | 2 --
 fs/ubifs/Kconfig   | 1 -
 21 files changed, 29 deletions(-)

diff --git a/arch/arm/mach-imx/mxs/Kconfig b/arch/arm/mach-imx/mxs/Kconfig
index ccce6a78caa2..d2e4205c5ce5 100644
--- a/arch/arm/mach-imx/mxs/Kconfig
+++ b/arch/arm/mach-imx/mxs/Kconfig
@@ -54,7 +54,6 @@ config SYS_SOC
 
 config SPL_MXS_PMU_MINIMAL_VDD5V_CURRENT
bool "Force minimal current draw from VDD5V by MX28 PMU"
-   default n
help
  After setting this option, the current drawn from VDD5V
  by the PMU is reduced to zero - the DCDC_BATT is used as
@@ -62,7 +61,6 @@ config SPL_MXS_PMU_MINIMAL_VDD5V_CURRENT
 
 config SPL_MXS_PMU_DISABLE_BATT_CHARGE
bool "Disable Battery Charging in MX28 PMU"
-   default n
 
 config SPL_MXS_PMU_ENABLE_4P2_LINEAR_REGULATOR
bool "Enable the 4P2 linear regulator in MX28 PMU"
diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index c43c185c17c5..a6c69c300d00 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -450,7 +450,6 @@ config ROCKCHIP_BOOT_MODE_REG
 config ROCKCHIP_RK8XX_DISABLE_BOOT_ON_POWERON
bool "Disable device boot on power plug-in"
depends on PMIC_RK8XX
-   default n
---help---
  Say Y here to prevent the device from booting up because of a plug-in
  event. When set, the device will boot briefly to determine why it was
diff --git a/arch/arm/mach-snapdragon/Kconfig b/arch/arm/mach-snapdragon/Kconfig
index 0e073045be54..2fc1521e2d30 100644
--- a/arch/arm/mach-snapdragon/Kconfig
+++ b/arch/arm/mach-snapdragon/Kconfig
@@ -14,7 +14,6 @@ config SPL_SYS_MALLOC_F_LEN
 
 config SDM845
bool "Qualcomm Snapdragon 845 SoC"
-   default n
select LINUX_KERNEL_IMAGE_HEADER
 
 config LNX_KRNL_IMG_TEXT_OFFSET_BASE
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index 40ca7d7b3a99..a10e4c06b6a3 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -811,7 +811,6 @@ config AXP_GPIO
 config AXP_DISABLE_BOOT_ON_POWERON
bool "Disable device boot on power plug-in"
depends on AXP209_POWER || AXP221_POWER || AXP809_POWER || AXP818_POWER
-   default n
---help---
  Say Y here to prevent the device from booting up because of a plug-in
  event. When set, the device will boot into the SPL briefly to
diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig
index 464bd0798f62..0e94b84fe657 100644
--- a/arch/arm/mach-tegra/Kconfig
+++ b/arch/arm/mach-tegra/Kconfig
@@ -18,7 +18,6 @@ config TEGRA_CLKRST
 config TEGRA_CRYPTO
bool "Tegra AES128 crypto module"
select AES
-   default n
 
 config TEGRA_GP_PADCTRL
bool
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig
index 587edd50d7e8..b288c65e7fd1 100644
--- a/arch/m68k/Kconfig
+++ b/arch/m68k/Kconfig
@@ -200,7 +200,6 @@ source "board/sysam/stmark2/Kconfig"
 
 config M68K_QEMU
bool "Build with workarounds for incomplete QEMU emulation"
-   default n
help
  QEMU 8.x currently does not implement RAMBAR accesses and
  DMA timers. Enable this option for U-Boot CI purposes only
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index e291456530bd..8fc81fb284cd 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -68,7 +68,6 @@ config SPL_SYS_DCACHE_OFF
 config SPL_ZERO_MEM_BEFORE_USE
bool "Zero memory before use"
depends on SPL
-   default n
help
  Zero stack/GD/malloc area in SPL before using them, this is needed for
  Sifive core devices that uses L2 cache to store SPL.
diff --git a/board/asus/grouper/Kconfig b/board/asus/grouper/Kconfig
index 912c6c5fbae8..47d9bae94682 100644
--- a/board/asus/grouper/Kconfig
+++ b/board/asus/grouper/Kconfig
@@ -12,11 +12,9 @@ config SYS_CONFIG_NAME
 config GROUPER_TPS65911
bool "Enable su

Re: [PATCH] Kconfig: Remove all default n/no options

2021-08-31 Thread Tom Rini
On Fri, Aug 27, 2021 at 08:48:10AM +0200, Michal Simek wrote:

> default n/no doesn't need to be specified. It is default option anyway.
> 
> Signed-off-by: Michal Simek 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


[PATCH] Kconfig: Remove all default n/no options

2021-08-26 Thread Michal Simek
default n/no doesn't need to be specified. It is default option anyway.

Signed-off-by: Michal Simek 
---

 Kconfig   |  6 --
 api/Kconfig   |  1 -
 arch/arc/Kconfig  |  5 -
 arch/arm/Kconfig  |  4 
 arch/arm/cpu/armv8/Kconfig|  3 ---
 arch/arm/cpu/armv8/fsl-layerscape/Kconfig |  1 -
 arch/arm/mach-at91/Kconfig|  1 -
 arch/arm/mach-imx/mx6/Kconfig |  1 -
 arch/arm/mach-mediatek/Kconfig|  1 -
 arch/arm/mach-mvebu/Kconfig   |  3 ---
 arch/arm/mach-rmobile/Kconfig.32  |  1 -
 arch/arm/mach-stm32mp/Kconfig |  1 -
 arch/arm/mach-sunxi/Kconfig   | 13 -
 arch/mips/Kconfig |  9 -
 arch/mips/mach-mtmips/mt7628/Kconfig  |  1 -
 arch/nds32/Kconfig|  2 --
 arch/riscv/Kconfig|  2 --
 arch/x86/Kconfig  |  7 ---
 arch/x86/cpu/ivybridge/Kconfig|  2 --
 arch/xtensa/Kconfig   |  2 --
 board/beacon/imx8mn/Kconfig   |  2 --
 board/congatec/common/Kconfig |  3 ---
 board/freescale/common/Kconfig|  1 -
 board/freescale/imx8mn_evk/Kconfig|  1 -
 board/freescale/ls1028a/Kconfig   |  2 --
 board/freescale/ls1043ardb/Kconfig|  1 -
 board/freescale/t208xrdb/Kconfig  |  1 -
 board/keymile/km_arm/Kconfig  |  6 --
 board/toradex/apalis_imx6/Kconfig |  1 -
 cmd/Kconfig   |  9 -
 cmd/mvebu/Kconfig |  1 -
 common/Kconfig|  5 -
 common/Kconfig.boot   | 11 ---
 common/spl/Kconfig|  7 ---
 drivers/block/Kconfig |  2 --
 drivers/core/Kconfig  |  4 
 drivers/dfu/Kconfig   |  1 -
 drivers/dma/ti/Kconfig|  1 -
 drivers/fastboot/Kconfig  |  1 -
 drivers/gpio/Kconfig  | 10 --
 drivers/i2c/Kconfig   |  2 --
 drivers/mmc/Kconfig   |  5 -
 drivers/mtd/nand/raw/Kconfig  |  3 ---
 drivers/mtd/spi/Kconfig   |  2 --
 drivers/mtd/ubi/Kconfig   |  1 -
 drivers/net/Kconfig   |  3 ---
 drivers/net/phy/Kconfig   |  3 ---
 drivers/pci/Kconfig   |  8 
 drivers/phy/marvell/Kconfig   |  1 -
 drivers/power/Kconfig |  2 --
 drivers/ram/aspeed/Kconfig|  3 ---
 drivers/ram/octeon/Kconfig|  2 --
 drivers/ram/stm32mp1/Kconfig  |  1 -
 drivers/reboot-mode/Kconfig   |  3 ---
 drivers/rng/Kconfig   |  3 ---
 drivers/serial/Kconfig|  2 --
 drivers/usb/host/Kconfig  |  4 
 drivers/usb/musb-new/Kconfig  |  2 --
 drivers/video/Kconfig | 13 -
 drivers/w1/Kconfig|  3 ---
 env/Kconfig   |  3 ---
 lib/Kconfig   |  3 ---
 lib/efi_loader/Kconfig| 10 --
 lib/optee/Kconfig |  1 -
 net/Kconfig   |  1 -
 65 files changed, 220 deletions(-)

diff --git a/Kconfig b/Kconfig
index a6c42b902f7d..25465583a9d9 100644
--- a/Kconfig
+++ b/Kconfig
@@ -83,7 +83,6 @@ config CC_OPTIMIZE_FOR_SIZE
 
 config OPTIMIZE_INLINING
bool "Allow compiler to uninline functions marked 'inline' in full 
U-Boot"
-   default n
help
  This option determines if U-Boot forces gcc to inline the functions
  developers have marked 'inline'. Doing so takes away freedom from gcc 
to
@@ -93,7 +92,6 @@ config OPTIMIZE_INLINING
 config SPL_OPTIMIZE_INLINING
bool "Allow compiler to uninline functions marked 'inline' in SPL"
depends on SPL
-   default n
help
  This option determines if U-Boot forces gcc to inline the functions
  developers have marked 'inline'. Doing so takes away freedom from gcc 
to
@@ -106,7 +104,6 @@ config ARCH_SUPPORTS_LTO
 config LTO
bool "Enable Link Time Optimizations"
depends on ARCH_SUPPORTS_LTO
-   default n
help
  This option enables Link Time Optimization (LTO), a mechanism which
  allows the compiler to optimize between different compilation units.
@@ -127,7 +124,6 @@ config LTO
 config TPL_OPTIMIZE_INLINING
bool "Allow compiler to uninline functions marked 'inline' in TPL"
depends on TPL
-   default n
help
  This option determines if U-Boot forces gcc to inline the functions
  developers have marked 'inline