summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-10-03 14:39:20 -0600
committerTom Rini <[email protected]>2025-10-13 14:54:32 -0600
commitec90518ee679f1353915cd912b9738ba81d1258f (patch)
tree64453be742862c416d43d1079025441d0517214a
parent66873b9ef0b447d9b0f9da81eb9867e1f19b99cf (diff)
spl: FIT: Make SPL_LOAD_FIT_FULL depend on SPL_LOAD_FIT
Today, only a few platforms enable SPL_LOAD_FIT_FULL, and all enable SPL_LOAD_FIT. As can be seen in usage, the FULL symbol is a superset of the first symbol, not an alternative. Update Kconfig entries based on this and simplify the only code which checks for either being set. Signed-off-by: Tom Rini <[email protected]>
-rw-r--r--boot/Kconfig4
-rw-r--r--common/spl/Kconfig2
-rw-r--r--include/test/spl.h3
3 files changed, 4 insertions, 5 deletions
diff --git a/boot/Kconfig b/boot/Kconfig
index eff05948b3a..022ec05de0a 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -204,7 +204,7 @@ config SPL_FIT_FULL_CHECK
config SPL_FIT_SIGNATURE
bool "Enable signature verification of FIT firmware within SPL"
depends on SPL_DM
- depends on SPL_LOAD_FIT || SPL_LOAD_FIT_FULL
+ depends on SPL_LOAD_FIT
select FIT_SIGNATURE
select SPL_FIT
select SPL_CRYPTO
@@ -282,7 +282,7 @@ config SPL_LOAD_FIT_APPLY_OVERLAY_BUF_SZ
config SPL_LOAD_FIT_FULL
bool "Enable SPL loading U-Boot as a FIT (full fitImage features)"
- select SPL_FIT
+ depends on SPL_LOAD_FIT
help
Normally with the SPL framework a legacy image is generated as part
of the build. This contains U-Boot along with information as to
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 4c8af85d5cc..a669c80941d 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -1573,7 +1573,7 @@ config SPL_AM33XX_ENABLE_RTC32K_OSC
config SPL_OPTEE_IMAGE
bool "Support OP-TEE Trusted OS image in SPL"
depends on ARM
- depends on SPL_LOAD_FIT || SPL_LOAD_FIT_FULL
+ depends on SPL_LOAD_FIT
help
OP-TEE is an open source Trusted OS which is loaded by SPL.
More detail at: https://github.com/OP-TEE/optee_os
diff --git a/include/test/spl.h b/include/test/spl.h
index 5fd28d92706..c5349b06e29 100644
--- a/include/test/spl.h
+++ b/include/test/spl.h
@@ -133,8 +133,7 @@ static inline bool image_supported(enum spl_test_image type)
return IS_ENABLED(CONFIG_SPL_LOAD_IMX_CONTAINER);
case FIT_INTERNAL:
case FIT_EXTERNAL:
- return IS_ENABLED(CONFIG_SPL_LOAD_FIT) ||
- IS_ENABLED(CONFIG_SPL_LOAD_FIT_FULL);
+ return IS_ENABLED(CONFIG_SPL_LOAD_FIT);
}
return false;