diff options
author | Marek Vasut <marex@denx.de> | 2016-12-01 02:06:35 +0100 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2016-12-01 14:06:41 +0900 |
commit | 09410c65724dd0a58e01f94a518c80befc413d90 (patch) | |
tree | 2633729ce47d39393e77bd646418c7ec264ebc43 /common/spl/spl_mmc.c | |
parent | b5b838f1a726e9ab7eea505740e8169b55e90ed6 (diff) | |
download | u-boot-09410c65724dd0a58e01f94a518c80befc413d90.tar.gz u-boot-09410c65724dd0a58e01f94a518c80befc413d90.tar.xz u-boot-09410c65724dd0a58e01f94a518c80befc413d90.zip |
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/spl_mmc.c')
-rw-r--r-- | common/spl/spl_mmc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c index 7dfcd0ba2a..58b061f76b 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; |