Skip to content

Commit

Permalink
Kconfig: Remove all default n/no options
Browse files Browse the repository at this point in the history
default n/no doesn't need to be specified. It is default option anyway.

Signed-off-by: Michal Simek <[email protected]>
[trini: Rework FSP_USE_UPD portion]
Signed-off-by: Tom Rini <[email protected]>
  • Loading branch information
Michal Simek authored and trini committed Aug 31, 2021
1 parent 7cfbba3 commit b4c2c15
Show file tree
Hide file tree
Showing 65 changed files with 1 addition and 224 deletions.
6 changes: 0 additions & 6 deletions Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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.
Expand All @@ -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'. Doing so takes away freedom from gcc to
Expand Down Expand Up @@ -310,7 +306,6 @@ if EXPERT

config SYS_MALLOC_DEFAULT_TO_INIT
bool "Default malloc to init while reserving the memory for it"
default n
help
It may happen that one needs to move the dynamic allocation
from one to another memory range, eg. when moving the malloc
Expand Down Expand Up @@ -440,7 +435,6 @@ config SYS_HAS_SRAM
default y if TARGET_PIC32MZDASK
default y if TARGET_DEVKIT8000
default y if TARGET_TRICORDER
default n
help
Enable this to allow support for the on board SRAM.
SRAM base address is controlled by CONFIG_SYS_SRAM_BASE.
Expand Down
1 change: 0 additions & 1 deletion api/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ menu "API"

config API
bool "Enable U-Boot API"
default n
help
This option enables the U-Boot API. See api/README for more information.

Expand Down
5 changes: 0 additions & 5 deletions arch/arc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,11 @@ endchoice

config CPU_BIG_ENDIAN
bool "Enable Big Endian Mode"
default n
help
Build kernel for Big Endian Mode of ARC CPU

config SYS_ICACHE_OFF
bool "Do not enable icache"
default n
help
Do not enable instruction cache in U-Boot.

Expand All @@ -123,7 +121,6 @@ config SPL_SYS_ICACHE_OFF

config SYS_DCACHE_OFF
bool "Do not enable dcache"
default n
help
Do not enable data cache in U-Boot.

Expand All @@ -136,14 +133,12 @@ config SPL_SYS_DCACHE_OFF

menuconfig ARC_DBG
bool "ARC debugging"
default n

if ARC_DBG

config ARC_DBG_IOC_ENABLE
bool "Enable IO coherency unit"
depends on CPU_ARCHS38
default n
help
Enable IO coherency unit to debug problems with caches and
DMA peripherals.
Expand Down
4 changes: 0 additions & 4 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ config THUMB2_KERNEL

config SYS_ICACHE_OFF
bool "Do not enable icache"
default n
help
Do not enable instruction cache in U-Boot.

Expand All @@ -123,7 +122,6 @@ config SPL_SYS_ICACHE_OFF

config SYS_DCACHE_OFF
bool "Do not enable dcache"
default n
help
Do not enable data cache in U-Boot.

Expand Down Expand Up @@ -443,7 +441,6 @@ config ENABLE_ARM_SOC_BOOT0_HOOK

config ARM_CORTEX_CPU_IS_UP
bool
default n

config USE_ARCH_MEMCPY
bool "Use an assembly optimized implementation of memcpy"
Expand Down Expand Up @@ -1907,7 +1904,6 @@ config ARCH_SUPPORT_TFABOOT
config TFABOOT
bool "Support for booting from TF-A"
depends on ARCH_SUPPORT_TFABOOT
default n
help
Some platforms support the setup of secure registers (for instance
for CPU errata handling) or provide secure services like PSCI.
Expand Down
3 changes: 0 additions & 3 deletions arch/arm/cpu/armv8/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ if ARM64
config ARMV8_SPL_EXCEPTION_VECTORS
bool "Install crash dump exception vectors"
depends on SPL
default n
help
The default exception vector table is only used for the crash
dump, but still takes quite a lot of space in the image size.
Expand Down Expand Up @@ -128,7 +127,6 @@ config PSCI_RESET

config ARMV8_PSCI
bool "Enable PSCI support" if EXPERT
default n
help
PSCI is Power State Coordination Interface defined by ARM.
The PSCI in U-boot provides a general framework and each platform
Expand Down Expand Up @@ -156,7 +154,6 @@ config ARMV8_PSCI_CPUS_PER_CLUSTER

config ARMV8_EA_EL3_FIRST
bool "External aborts and SError interrupt exception are taken in EL3"
default n
help
Exception handling at all exception levels for External Abort and
SError interrupt exception are taken in EL3.
Expand Down
1 change: 0 additions & 1 deletion arch/arm/cpu/armv8/fsl-layerscape/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,6 @@ config QSPI_AHB_INIT

config FSPI_AHB_EN_4BYTE
bool "Enable 4-byte Fast Read command for AHB mode"
default n
help
The default setting for FlexSPI AHB bus just supports 3-byte addressing.
But some FlexSPI flash sizes are up to 64MBytes.
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-at91/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ endchoice

config ATMEL_SFR
bool
default n

config SYS_SOC
default "at91"
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-imx/mx6/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ config MX6_OCRAM_256KB
config MX6_DDRCAL
bool "Include dynamic DDR calibration routines"
depends on SPL
default n
help
Say "Y" if your board uses dynamic (per-boot) DDR calibration.
If unsure, say N.
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-mediatek/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ config SYS_VENDOR

config MT8512
bool "MediaTek MT8512 SoC"
default n

choice
prompt "MediaTek board select"
Expand Down
3 changes: 0 additions & 3 deletions arch/arm/mach-mvebu/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ if ARCH_MVEBU

config HAVE_MVEBU_EFUSE
bool
default n

config ARMADA_32BIT
bool
Expand Down Expand Up @@ -311,14 +310,12 @@ endchoice

config MVEBU_EFUSE
bool "Enable eFuse support"
default n
depends on HAVE_MVEBU_EFUSE
help
Enable support for reading and writing eFuses on mvebu SoCs.

config MVEBU_EFUSE_FAKE
bool "Fake eFuse access (dry run)"
default n
depends on MVEBU_EFUSE
help
This enables a "dry run" mode where eFuses are not really programmed.
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-rmobile/Kconfig.32
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ config SYS_SOC
config RMOBILE_EXTRAM_BOOT
bool "Enable boot from RAM"
depends on TARGET_ALT || TARGET_BLANCHE || TARGET_KOELSCH || TARGET_LAGER || TARGET_PORTER || TARGET_SILK || TARGET_STOUT
default n

choice
prompt "Qos setting primary"
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-stm32mp/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ config STM32_ECDSA_VERIFY

config CMD_STM32KEY
bool "command stm32key to fuse public key hash"
default n
help
fuse public key hash in corresponding fuse used to authenticate
binary.
Expand Down
13 changes: 0 additions & 13 deletions arch/arm/mach-sunxi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,6 @@ config SYS_SOC

config UART0_PORT_F
bool "UART0 on MicroSD breakout board"
default n
---help---
Repurpose the SD card slot for getting access to the UART0 serial
console. Primarily useful only for low level u-boot debugging on
Expand All @@ -640,7 +639,6 @@ config UART0_PORT_F

config OLD_SUNXI_KERNEL_COMPAT
bool "Enable workarounds for booting old kernels"
default n
---help---
Set this to enable various workarounds for old kernels, this results in
sub-optimal settings for newer kernels, only enable if needed.
Expand Down Expand Up @@ -771,22 +769,19 @@ config I2C0_ENABLE

config I2C1_ENABLE
bool "Enable I2C/TWI controller 1"
default n
select CMD_I2C
---help---
See I2C0_ENABLE help text.

config I2C2_ENABLE
bool "Enable I2C/TWI controller 2"
default n
select CMD_I2C
---help---
See I2C0_ENABLE help text.

if MACH_SUN6I || MACH_SUN7I
config I2C3_ENABLE
bool "Enable I2C/TWI controller 3"
default n
select CMD_I2C
---help---
See I2C0_ENABLE help text.
Expand All @@ -805,15 +800,13 @@ endif
if MACH_SUN7I
config I2C4_ENABLE
bool "Enable I2C/TWI controller 4"
default n
select CMD_I2C
---help---
See I2C0_ENABLE help text.
endif

config AXP_GPIO
bool "Enable support for gpio-s on axp PMICs"
default n
---help---
Say Y here to enable support for the gpio pins of the axp PMIC ICs.

Expand Down Expand Up @@ -845,14 +838,12 @@ config VIDEO_HDMI
config VIDEO_VGA
bool "VGA output support"
depends on VIDEO_SUNXI && (MACH_SUN4I || MACH_SUN7I)
default n
---help---
Say Y here to add support for outputting video over VGA.

config VIDEO_VGA_VIA_LCD
bool "VGA via LCD controller support"
depends on VIDEO_SUNXI && (MACH_SUN5I || MACH_SUN6I || MACH_SUN8I)
default n
---help---
Say Y here to add support for external DACs connected to the parallel
LCD interface driving a VGA connector, such as found on the
Expand All @@ -861,7 +852,6 @@ config VIDEO_VGA_VIA_LCD
config VIDEO_VGA_VIA_LCD_FORCE_SYNC_ACTIVE_HIGH
bool "Force sync active high for VGA via LCD controller support"
depends on VIDEO_VGA_VIA_LCD
default n
---help---
Say Y here if you've a board which uses opendrain drivers for the vga
hsync and vsync signals. Opendrain drivers cannot generate steep enough
Expand All @@ -879,7 +869,6 @@ config VIDEO_VGA_EXTERNAL_DAC_EN
config VIDEO_COMPOSITE
bool "Composite video output support"
depends on VIDEO_SUNXI && (MACH_SUN4I || MACH_SUN5I || MACH_SUN7I)
default n
---help---
Say Y here to add support for outputting composite video.

Expand Down Expand Up @@ -943,7 +932,6 @@ config VIDEO_LCD_BL_PWM_ACTIVE_LOW
config VIDEO_LCD_PANEL_I2C
bool "LCD panel needs to be configured via i2c"
depends on VIDEO_SUNXI
default n
select CMD_I2C
---help---
Say y here if the LCD panel needs to be configured via i2c. This
Expand Down Expand Up @@ -976,7 +964,6 @@ config VIDEO_LCD_IF_LVDS

config SUNXI_DE2
bool
default n

config VIDEO_DE2
bool "Display Engine 2 video driver"
Expand Down
9 changes: 0 additions & 9 deletions arch/mips/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,6 @@ config MIPS_RELOCATION_TABLE_SIZE

config RESTORE_EXCEPTION_VECTOR_BASE
bool "Restore exception vector base before booting linux kernel"
default n
help
In U-Boot the exception vector base will be moved to top of memory,
to be used to display register dump when exception occurs.
Expand All @@ -361,7 +360,6 @@ config RESTORE_EXCEPTION_VECTOR_BASE
config OVERRIDE_EXCEPTION_VECTOR_BASE
bool "Override the exception vector base to be restored"
depends on RESTORE_EXCEPTION_VECTOR_BASE
default n
help
Enable this option if you want to use a different exception vector
base rather than the previously saved one.
Expand All @@ -376,7 +374,6 @@ config NEW_EXCEPTION_VECTOR_BASE

config INIT_STACK_WITHOUT_MALLOC_F
bool "Do not reserve malloc space on initial stack"
default n
help
Enable this option if you don't want to reserve malloc space on
initial stack. This is useful if the initial stack can't hold large
Expand All @@ -385,7 +382,6 @@ config INIT_STACK_WITHOUT_MALLOC_F

config SPL_INIT_STACK_WITHOUT_MALLOC_F
bool "Do not reserve malloc space on initial stack in SPL"
default n
help
Enable this option if you don't want to reserve malloc space on
initial stack. This is useful if the initial stack can't hold large
Expand All @@ -394,7 +390,6 @@ config SPL_INIT_STACK_WITHOUT_MALLOC_F

config SPL_LOADER_SUPPORT
bool
default n
help
Enable this option if you want to use SPL loaders without DM enabled.

Expand Down Expand Up @@ -422,7 +417,6 @@ config MIPS_BOOT_ENV_LEGACY

config MIPS_BOOT_FDT
bool "Hand over a flattened device tree to Linux kernel"
default n
help
Enable this option if you want U-Boot to hand over a flattened
device tree to the kernel. According to UHI register $a0 will be set
Expand Down Expand Up @@ -501,7 +495,6 @@ config SYS_MIPS_CACHE_INIT_RAM_LOAD

config MIPS_INIT_STACK_IN_SRAM
bool
default n
help
Select this if the initial stack frame could be setup in SRAM.
Normally the initial stack frame is set up in DRAM which is often
Expand All @@ -512,7 +505,6 @@ config MIPS_INIT_STACK_IN_SRAM

config MIPS_SRAM_INIT
bool
default n
depends on MIPS_INIT_STACK_IN_SRAM
help
Select this if the SRAM for initial stack needs to be initialized
Expand Down Expand Up @@ -584,7 +576,6 @@ config MIPS_CM

config MIPS_INSERT_BOOT_CONFIG
bool
default n
help
Enable this to insert some board-specific boot configuration in
the U-Boot binary at offset 0x10.
Expand Down
Loading

0 comments on commit b4c2c15

Please sign in to comment.