Commit 09410c65724dd0a58e01f94a518c80befc413d90
Committed by
Jaehoon Chung
1 parent
b5b838f1a7
Exists in
v2017.01-smarct4x
and in
25 other branches
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>
Showing 2 changed files with 5 additions and 2 deletions Side-by-side Diff
common/spl/spl_mmc.c
... | ... | @@ -272,8 +272,8 @@ |
272 | 272 | } |
273 | 273 | #endif |
274 | 274 | |
275 | -static int spl_mmc_load_image(struct spl_image_info *spl_image, | |
276 | - struct spl_boot_device *bootdev) | |
275 | +int spl_mmc_load_image(struct spl_image_info *spl_image, | |
276 | + struct spl_boot_device *bootdev) | |
277 | 277 | { |
278 | 278 | struct mmc *mmc = NULL; |
279 | 279 | u32 boot_mode; |
include/spl.h