summaryrefslogtreecommitdiff
path: root/include/spl.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2016-12-01 01:06:35 (GMT)
committerJaehoon Chung <jh80.chung@samsung.com>2016-12-01 05:06:41 (GMT)
commit09410c65724dd0a58e01f94a518c80befc413d90 (patch)
tree2633729ce47d39393e77bd646418c7ec264ebc43 /include/spl.h
parentb5b838f1a726e9ab7eea505740e8169b55e90ed6 (diff)
downloadu-boot-09410c65724dd0a58e01f94a518c80befc413d90.tar.xz
SPL: mmc: Make spl_mmc_load_image available
Make the spl_mmc_load_image() available globally, so it can be invoked directly by SPL on extremely space-constrained systems. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Tom Rini <trini@konsulko.com> Cc: Simon Glass <sjg@chromium.org> Cc: Jaehoon Chung <jh80.chung@samsung.com>
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 e080a82..c727eb7 100644
--- a/include/spl.h
+++ b/include/spl.h
@@ -234,4 +234,7 @@ bool spl_was_boot_source(void);
*/
int spl_dfu_cmd(int usbctrl, char *dfu_alt_info, char *interface, char *devstr);
+int spl_mmc_load_image(struct spl_image_info *spl_image,
+ struct spl_boot_device *bootdev);
+
#endif