aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAndreas Dannenberg2019-08-15 15:55:27 -0500
committerTom Rini2019-10-11 10:07:33 -0400
commite413033d3553402b313a4e2b1839c2d19e7cdcd3 (patch)
tree6c9e79aa0377a056565529f99fe8451eefa3e2a8 /common
parent9d6ee3e23591f4eb733153aa7776f53d9fef57f1 (diff)
spl: ymodem: Make SPL Y-Modem loader framework accessible
Expose SPL's Y-Modem core loader function via the common SPL header file so it can be re-used for purposes other than loading U-Boot itself. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Diffstat (limited to 'common')
-rw-r--r--common/spl/spl_ymodem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/spl/spl_ymodem.c b/common/spl/spl_ymodem.c
index 8ad580d8ae5..c02c05624d4 100644
--- a/common/spl/spl_ymodem.c
+++ b/common/spl/spl_ymodem.c
@@ -68,8 +68,8 @@ static ulong ymodem_read_fit(struct spl_load_info *load, ulong offset,
return size;
}
-static int spl_ymodem_load_image(struct spl_image_info *spl_image,
- struct spl_boot_device *bootdev)
+int spl_ymodem_load_image(struct spl_image_info *spl_image,
+ struct spl_boot_device *bootdev)
{
ulong size = 0;
int err;