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 --- common/spl/spl_mmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c index 7dfcd0b..58b061f 100644 --- a/common/spl/spl_mmc.c +++ b/common/spl/spl_mmc.c @@ -272,8 +272,8 @@ static int spl_mmc_do_fs_boot(struct spl_image_info *spl_image, struct mmc *mmc) } #endif -static int spl_mmc_load_image(struct spl_image_info *spl_image, - struct spl_boot_device *bootdev) +int spl_mmc_load_image(struct spl_image_info *spl_image, + struct spl_boot_device *bootdev) { struct mmc *mmc = NULL; u32 boot_mode; -- cgit v1.1