summaryrefslogtreecommitdiff
path: root/include/spl.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-09-25 00:20:14 (GMT)
committerTom Rini <trini@konsulko.com>2016-10-06 19:08:53 (GMT)
commitb4a6c2aae6165782dd9fa4944b38c2c2a7419af1 (patch)
treeca27b960cc3ba435180412905f4d1e6c3d16f4b4 /include/spl.h
parent2a2ee2ac35f26f6b4dae11a225c2803291dff10e (diff)
downloadu-boot-fsl-qoriq-b4a6c2aae6165782dd9fa4944b38c2c2a7419af1.tar.xz
spl: Update ext functions to take an spl_image parameter
Update the ext loader to avoid using the spl_image global variable. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/spl.h')
-rw-r--r--include/spl.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/spl.h b/include/spl.h
index dd1d609..5ef9ae6 100644
--- a/include/spl.h
+++ b/include/spl.h
@@ -191,9 +191,11 @@ int spl_load_image_fat_os(struct blk_desc *block_dev, int partition);
void __noreturn jump_to_image_no_args(struct spl_image_info *spl_image);
/* SPL EXT image functions */
-int spl_load_image_ext(struct blk_desc *block_dev, int partition,
+int spl_load_image_ext(struct spl_image_info *spl_image,
+ struct blk_desc *block_dev, int partition,
const char *filename);
-int spl_load_image_ext_os(struct blk_desc *block_dev, int partition);
+int spl_load_image_ext_os(struct spl_image_info *spl_image,
+ struct blk_desc *block_dev, int partition);
/**
* spl_init() - Set up device tree and driver model in SPL if enabled