summaryrefslogtreecommitdiff
path: root/include
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 /include
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]>
Diffstat (limited to 'include')
-rw-r--r--include/test/spl.h3
1 files changed, 1 insertions, 2 deletions
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;