summaryrefslogtreecommitdiff
path: root/common/spl
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 /common/spl
parentb5b838f1a726e9ab7eea505740e8169b55e90ed6 (diff)
downloadu-boot-fsl-qoriq-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 'common/spl')
-rw-r--r--common/spl/spl_mmc.c4
1 files changed, 2 insertions, 2 deletions
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;