···202202 phase = IS_ENABLED(CONFIG_TPL_BUILD) ? IH_PHASE_NONE :
203203 IS_ENABLED(CONFIG_VPL_BUILD) ? IH_PHASE_SPL : IH_PHASE_U_BOOT;
204204205205- /*
206206- * Load the image from the FIT. We ignore any load-address information
207207- * so in practice this simply locates the image in the external-data
208208- * region and returns its address and size. Since we only loaded the FIT
209209- * itself, only a part of the image will be present, at best.
210210- */
211211- fit_uname = NULL;
212212- fit_uname_config = NULL;
213205 log_debug("loading FIT\n");
214206215207 if (xpl_phase() == PHASE_SPL && !IS_ENABLED(CONFIG_SANDBOX)) {
···220212 log_debug("doing SPL from %s blksz %lx log2blksz %x area_offset %lx + fdt_size %lx\n",
221213 blk->name, desc->blksz, desc->log2blksz, area_offset, ALIGN(size, 4));
222214 ret = spl_load_simple_fit(image, &info, area_offset, buf);
223223- log_debug("spl_load_abrec_fit() ret=%d\n", ret);
215215+ log_debug("spl_load_simple_fit() ret=%d\n", ret);
224216225217 return ret;
226218 }
227219220220+ /*
221221+ * Load the image from the FIT. We ignore any load-address information
222222+ * so in practice this simply locates the image in the external-data
223223+ * region and returns its address and size. Since we only loaded the FIT
224224+ * itself, only a part of the image will be present, at best.
225225+ */
226226+ fit_uname = NULL;
227227+ fit_uname_config = NULL;
228228 ret = fit_image_load(&images, addr, &fit_uname, &fit_uname_config,
229229 IH_ARCH_DEFAULT, image_ph(phase, IH_TYPE_FIRMWARE),
230230 BOOTSTAGE_ID_FIT_SPL_START, FIT_LOAD_IGNORED,