From 8ce6a2e1757718bb9e4e97f1fd7da94ba298fe73 Mon Sep 17 00:00:00 2001 From: Mayuresh Chitale Date: Sat, 3 Jun 2023 19:32:54 +0530 Subject: spl: blk: Support loading images from fs Add a generic API to support loading of SPL payload from any supported filesystem on a given partition of a block device. Signed-off-by: Mayuresh Chitale --- include/spl.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/spl.h b/include/spl.h index 7e0f5ac63b0..20e1eb32a44 100644 --- a/include/spl.h +++ b/include/spl.h @@ -672,6 +672,9 @@ int spl_load_image_ext(struct spl_image_info *spl_image, int spl_load_image_ext_os(struct spl_image_info *spl_image, struct spl_boot_device *bootdev, struct blk_desc *block_dev, int partition); +int spl_blk_load_image(struct spl_image_info *spl_image, + struct spl_boot_device *bootdev, + enum uclass_id uclass_id, int devnum, int partnum); /** * spl_early_init() - Set up device tree and driver model in SPL if enabled -- cgit v1.2.3