From 09410c65724dd0a58e01f94a518c80befc413d90 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Thu, 1 Dec 2016 02:06:35 +0100 Subject: 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 Cc: Tom Rini Cc: Simon Glass Cc: Jaehoon Chung --- include/spl.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/spl.h') diff --git a/include/spl.h b/include/spl.h index e080a82b97..c727eb76d4 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 -- cgit v1.2.1