summaryrefslogtreecommitdiff
path: root/include/spl.h
diff options
context:
space:
mode:
authorMayuresh Chitale <[email protected]>2023-06-03 19:32:54 +0530
committerTom Rini <[email protected]>2023-06-19 17:19:44 -0400
commit8ce6a2e1757718bb9e4e97f1fd7da94ba298fe73 (patch)
tree7445eb6a53e9a8439a1440b1f18b7456e7b33769 /include/spl.h
parentf3228a7232663c5690eed1a15f1299c25c910179 (diff)
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 <[email protected]>
Diffstat (limited to 'include/spl.h')
-rw-r--r--include/spl.h3
1 files changed, 3 insertions, 0 deletions
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