|
@@ -68,6 +68,15 @@ static int spl_nand_load_element(struct spl_image_info *spl_image,
|
|
|
load.bl_len = 1;
|
|
|
load.read = spl_nand_fit_read;
|
|
|
return spl_load_simple_fit(spl_image, &load, offset, header);
|
|
|
+ } else if (IS_ENABLED(CONFIG_SPL_LOAD_IMX_CONTAINER)) {
|
|
|
+ struct spl_load_info load;
|
|
|
+
|
|
|
+ load.dev = NULL;
|
|
|
+ load.priv = NULL;
|
|
|
+ load.filename = NULL;
|
|
|
+ load.bl_len = 1;
|
|
|
+ load.read = spl_nand_fit_read;
|
|
|
+ return spl_load_imx_container(spl_image, &load, offset);
|
|
|
} else {
|
|
|
err = spl_parse_image_header(spl_image, header);
|
|
|
if (err)
|