forked from OERV-BSP/u-boot
Kconfig: Make further use of testing for !COMPILE_TEST
We have a large number of library symbols that should not be prompted for by the user really but rather selected by the platform (or SoC) as needed. To start with however, make these depend on !COMPILE_TEST. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
1
Kconfig
1
Kconfig
@@ -720,6 +720,7 @@ config TPL_SYS_MONITOR_BASE
|
||||
|
||||
config DYNAMIC_SYS_CLK_FREQ
|
||||
bool "Determine CPU clock frequency at run-time"
|
||||
depends on !COMPILE_TEST
|
||||
help
|
||||
Implement a get_board_sys_clk function that will determine the CPU
|
||||
clock frequency at run time, rather than define it statically.
|
||||
|
||||
@@ -1852,6 +1852,7 @@ config OF_BOARD_SETUP
|
||||
|
||||
config OF_BOARD_SETUP_EXTENDED
|
||||
bool "Set up latest board-specific details in device tree before boot"
|
||||
depends on !COMPILE_TEST
|
||||
imply OF_BOARD_SETUP
|
||||
help
|
||||
This causes U-Boot to call ft_board_setup_ex() before booting into
|
||||
@@ -1862,6 +1863,7 @@ config OF_BOARD_SETUP_EXTENDED
|
||||
|
||||
config OF_SYSTEM_SETUP
|
||||
bool "Set up system-specific details in device tree before boot"
|
||||
depends on !COMPILE_TEST
|
||||
help
|
||||
This causes U-Boot to call ft_system_setup() before booting into
|
||||
the Operating System. This function can set up various
|
||||
|
||||
@@ -1238,6 +1238,7 @@ config CMD_FPGAD
|
||||
|
||||
config CMD_FUSE
|
||||
bool "fuse - support for the fuse subssystem"
|
||||
depends on !COMPILE_TEST
|
||||
help
|
||||
(deprecated - needs conversion to driver model)
|
||||
This allows reading, sensing, programming or overriding fuses
|
||||
@@ -1289,6 +1290,7 @@ config CMD_GPT_RENAME
|
||||
|
||||
config CMD_IDE
|
||||
bool "ide - Support for IDE drivers"
|
||||
depends on !COMPILE_TEST
|
||||
select IDE
|
||||
help
|
||||
Provides an 'ide' command which allows accessing the IDE drive,
|
||||
@@ -1558,6 +1560,7 @@ config CMD_NVME
|
||||
config CMD_ONENAND
|
||||
bool "onenand - access to onenand device"
|
||||
depends on MTD
|
||||
depends on !COMPILE_TEST
|
||||
help
|
||||
OneNAND is a brand of NAND ('Not AND' gate) flash which provides
|
||||
various useful features. This command allows reading, writing,
|
||||
@@ -1567,6 +1570,7 @@ config CMD_ONENAND
|
||||
config USE_ONENAND_BOARD_INIT
|
||||
bool "Call onenand_board_init() in the onenand command"
|
||||
depends on CMD_ONENAND
|
||||
depends on !COMPILE_TEST
|
||||
|
||||
config CMD_OSD
|
||||
bool "osd"
|
||||
@@ -2891,6 +2895,7 @@ config JFFS2_PART_SIZE
|
||||
|
||||
config CMD_MTDPARTS
|
||||
bool "MTD partition support"
|
||||
depends on !COMPILE_TEST
|
||||
depends on MTD
|
||||
select MTD_PARTITIONS
|
||||
help
|
||||
|
||||
@@ -280,6 +280,7 @@ config SYS_CONSOLE_IS_IN_ENV
|
||||
|
||||
config SYS_CONSOLE_OVERWRITE_ROUTINE
|
||||
bool "Allow board control over console overwriting"
|
||||
depends on !COMPILE_TEST
|
||||
help
|
||||
If this is enabled, and the board-specific function
|
||||
overwrite_console() returns 1, the stdin, stderr and stdout are
|
||||
@@ -714,6 +715,7 @@ config ARCH_MISC_INIT
|
||||
|
||||
config BOARD_EARLY_INIT_F
|
||||
bool "Call board-specific init before relocation"
|
||||
depends on !COMPILE_TEST
|
||||
help
|
||||
Some boards need to perform initialisation as soon as possible
|
||||
after boot. With this option, U-Boot calls board_early_init_f()
|
||||
@@ -723,6 +725,7 @@ config BOARD_EARLY_INIT_F
|
||||
|
||||
config BOARD_EARLY_INIT_R
|
||||
bool "Call board-specific init after relocation"
|
||||
depends on !COMPILE_TEST
|
||||
help
|
||||
Some boards need to perform initialisation as directly after
|
||||
relocation. With this option, U-Boot calls board_early_init_r()
|
||||
@@ -730,6 +733,7 @@ config BOARD_EARLY_INIT_R
|
||||
|
||||
config BOARD_INIT
|
||||
bool "Call board-specific init board_init() during init-calls"
|
||||
depends on !COMPILE_TEST
|
||||
default y if ARM || RISCV || SANDBOX
|
||||
help
|
||||
Some boards need an board_init() function called during the initcall
|
||||
@@ -737,6 +741,7 @@ config BOARD_INIT
|
||||
|
||||
config BOARD_POSTCLK_INIT
|
||||
bool "Call board_postclk_init"
|
||||
depends on !COMPILE_TEST
|
||||
help
|
||||
Some boards need this to initialize select items, after clocks /
|
||||
timebase and before env / serial.
|
||||
@@ -780,6 +785,7 @@ config LAST_STAGE_INIT
|
||||
|
||||
config MISC_INIT_R
|
||||
bool "Execute Misc Init"
|
||||
depends on !COMPILE_TEST
|
||||
default y if ARCH_KEYSTONE || ARCH_SUNXI || MPC85xx
|
||||
default y if ARCH_OMAP2PLUS && !AM33XX
|
||||
help
|
||||
@@ -842,6 +848,7 @@ config SYS_EARLY_PCI_INIT
|
||||
|
||||
config RESET_PHY_R
|
||||
bool "Reset ethernet PHY during init"
|
||||
depends on !COMPILE_TEST
|
||||
help
|
||||
Implement reset_phy() in board code if required to reset the ethernet
|
||||
PHY.
|
||||
@@ -952,6 +959,7 @@ config TPL_STACKPROTECTOR
|
||||
|
||||
config BOARD_RNG_SEED
|
||||
bool "Provide /chosen/rng-seed property to the linux kernel"
|
||||
depends on !COMPILE_TEST
|
||||
help
|
||||
Selecting this option requires the board to define a
|
||||
board_rng_seed() function, which should return a buffer
|
||||
|
||||
@@ -162,6 +162,7 @@ source "drivers/xen/Kconfig"
|
||||
|
||||
config PHYS_TO_BUS
|
||||
bool "Custom physical to bus address mapping"
|
||||
depends on !COMPILE_TEST
|
||||
help
|
||||
Some SoCs use a different address map for CPU physical addresses and
|
||||
peripheral DMA master accesses. If yours does, select this option in
|
||||
|
||||
@@ -137,6 +137,7 @@ endif # EFI_MEDIA
|
||||
|
||||
config IDE
|
||||
bool "Support IDE controllers"
|
||||
depends on !COMPILE_TEST
|
||||
select BLK
|
||||
help
|
||||
Enables support for IDE (Integrated Drive Electronics) hard drives.
|
||||
|
||||
@@ -98,6 +98,7 @@ config DFU_SCSI
|
||||
|
||||
config SET_DFU_ALT_INFO
|
||||
bool "Dynamic set of DFU alternate information"
|
||||
depends on !COMPILE_TEST
|
||||
help
|
||||
This option allows to call the function set_dfu_alt_info to
|
||||
dynamically build dfu_alt_info in board.
|
||||
|
||||
@@ -41,6 +41,7 @@ config MTD_BLOCK
|
||||
|
||||
config SYS_MTDPARTS_RUNTIME
|
||||
bool "Allow MTDPARTS to be configured at runtime"
|
||||
depends on !COMPILE_TEST
|
||||
help
|
||||
This option allows to call the function board_mtdparts_default to
|
||||
dynamically build the variables mtdids and mtdparts at runtime.
|
||||
|
||||
@@ -37,6 +37,7 @@ config OF_REAL
|
||||
|
||||
config OF_BOARD_FIXUP
|
||||
bool "Board-specific manipulation of Device Tree"
|
||||
depends on !COMPILE_TEST
|
||||
help
|
||||
In certain circumstances it is necessary to be able to modify
|
||||
U-Boot's device tree (e.g. to delete device from it). This option
|
||||
@@ -87,6 +88,7 @@ config OF_LIVE
|
||||
|
||||
config OF_UPSTREAM
|
||||
bool "Enable use of devicetree imported from Linux kernel release"
|
||||
depends on !COMPILE_TEST
|
||||
help
|
||||
Traditionally, U-Boot platforms used to have their custom devicetree
|
||||
files or copy devicetree files from Linux kernel which are hard to
|
||||
@@ -306,6 +308,7 @@ config MULTI_DTB_FIT_USER_DEF_ADDR
|
||||
|
||||
config DTB_RESELECT
|
||||
bool "Support swapping dtbs at a later point in boot"
|
||||
depends on !COMPILE_TEST
|
||||
depends on MULTI_DTB_FIT
|
||||
help
|
||||
It is possible during initial boot you may need to use a generic
|
||||
|
||||
@@ -1244,6 +1244,7 @@ config SPL_LMB
|
||||
config LMB_ARCH_MEM_MAP
|
||||
bool "Add an architecture specific memory map"
|
||||
depends on LMB
|
||||
depends on !COMPILE_TEST
|
||||
default y if FSL_LAYERSCAPE || X86
|
||||
help
|
||||
Some architectures have special or unique aspects which need
|
||||
|
||||
Reference in New Issue
Block a user