summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorFrancesco Valla <[email protected]>2026-06-04 22:41:38 +0200
committerTom Rini <[email protected]>2026-06-17 14:16:41 -0600
commitcd9c7bc3b4d2bac01c9dbe39171acedf281506cb (patch)
treeeb2dc87a8562cf312005f058fb116943cec92bbe /common
parentfffbb6f428ff81236d6092bec0d161904ca50335 (diff)
spl: fit: drop the 'standalone' load attempt
The 'standalone =' config property has been deprecated for ~5 years [1], with the loud warn about the deprecation lasting much more than the foreseen couple of releases. Remove the attempt to load the primary image through this property to save some boot time and code complexity. [1] https://lore.kernel.org/u-boot/[email protected]/ Signed-off-by: Francesco Valla <[email protected]>
Diffstat (limited to 'common')
-rw-r--r--common/spl/spl_fit.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c
index 1f3f7e54950..e1c8b1c9b69 100644
--- a/common/spl/spl_fit.c
+++ b/common/spl/spl_fit.c
@@ -959,18 +959,9 @@ int spl_load_fit_image(struct spl_image_info *spl_image,
images.verify = 1;
#endif
ret = fit_image_load(&images, virt_to_phys((void *)header),
- NULL, &fit_uname_config,
- IH_ARCH_DEFAULT, IH_TYPE_STANDALONE, -1,
- FIT_LOAD_OPTIONAL, &fw_data, &fw_len);
- if (ret >= 0) {
- printf("DEPRECATED: 'standalone = ' property.");
- printf("Please use either 'firmware =' or 'kernel ='\n");
- } else {
- ret = fit_image_load(&images, virt_to_phys((void *)header),
- NULL, &fit_uname_config, IH_ARCH_DEFAULT,
- IH_TYPE_FIRMWARE, -1, FIT_LOAD_OPTIONAL,
- &fw_data, &fw_len);
- }
+ NULL, &fit_uname_config, IH_ARCH_DEFAULT,
+ IH_TYPE_FIRMWARE, -1, FIT_LOAD_OPTIONAL,
+ &fw_data, &fw_len);
if (ret < 0) {
ret = fit_image_load(&images, virt_to_phys((void *)header),