aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMayuresh Chitale <mchitale@ventanamicro.com>2023-06-03 19:32:54 +0530
committerTom Rini <trini@konsulko.com>2023-06-19 17:19:44 -0400
commit8ce6a2e1757718bb9e4e97f1fd7da94ba298fe73 (patch)
tree7445eb6a53e9a8439a1440b1f18b7456e7b33769 /include
parentf3228a7232663c5690eed1a15f1299c25c910179 (diff)
downloadu-boot-8ce6a2e1757718bb9e4e97f1fd7da94ba298fe73.zip
u-boot-8ce6a2e1757718bb9e4e97f1fd7da94ba298fe73.tar.gz
u-boot-8ce6a2e1757718bb9e4e97f1fd7da94ba298fe73.tar.bz2
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 <mchitale@ventanamicro.com>
Diffstat (limited to 'include')
-rw-r--r--include/spl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/spl.h b/include/spl.h
index 7e0f5ac..20e1eb3 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