summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-07-04 15:46:06 -0600
committerTom Rini <[email protected]>2025-07-11 11:33:25 -0600
commit7adb9b03a6447a80925c6eb02fedb6b022ef6e14 (patch)
tree4b7ae83e47e5722c8fdc6af02e64fe6538141eff /Kconfig
parent011079c375d029f47e91d57f84927f392ffd2d61 (diff)
Kconfig: Test for !COMPILE_TEST in some locations
We have a few options that we cannot enable in a "allyesconfig" type build because we cannot use zero as a default value. - The logic around HAS_BOARD_SIZE_LIMIT assumes that if we have set this then we compare with it. Similarly, we need to set SPL_NO_BSS_LIMIT as the default there. - Both SYS_CUSTOM_LDSCRIPT and ENV_USE_DEFAULT_ENV_TEXT_FILE then prompt for a file name to use. - The SYS_I2C_SOFT driver is a legacy driver which requires a lot of configuration within the board config. file instead, so disable it. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index 3571f5214e6..c883f115459 100644
--- a/Kconfig
+++ b/Kconfig
@@ -537,6 +537,7 @@ config BUILD_TARGET
config HAS_BOARD_SIZE_LIMIT
bool "Define a maximum size for the U-Boot image"
+ depends on !COMPILE_TEST
default y if RCAR_32 || RCAR_64
help
In some cases, we need to enforce a hard limit on how big the U-Boot
@@ -555,6 +556,7 @@ config BOARD_SIZE_LIMIT
config SYS_CUSTOM_LDSCRIPT
bool "Use a custom location for the U-Boot linker script"
+ depends on !COMPILE_TEST
help
Normally when linking U-Boot we will look in the board directory,
the CPU directory and finally the "cpu" directory of the architecture