spl: Update fat functions to take an spl_image parameter
Update the fat loader to avoid using the spl_image global variable. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -184,9 +184,11 @@ struct spl_image_loader {
|
||||
}
|
||||
|
||||
/* SPL FAT image functions */
|
||||
int spl_load_image_fat(struct blk_desc *block_dev, int partition,
|
||||
int spl_load_image_fat(struct spl_image_info *spl_image,
|
||||
struct blk_desc *block_dev, int partition,
|
||||
const char *filename);
|
||||
int spl_load_image_fat_os(struct blk_desc *block_dev, int partition);
|
||||
int spl_load_image_fat_os(struct spl_image_info *spl_image,
|
||||
struct blk_desc *block_dev, int partition);
|
||||
|
||||
void __noreturn jump_to_image_no_args(struct spl_image_info *spl_image);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user