diff options
author | Andreas Dannenberg <dannenberg@ti.com> | 2019-08-15 23:55:27 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-10-11 17:07:33 +0300 |
commit | e413033d3553402b313a4e2b1839c2d19e7cdcd3 (patch) | |
tree | 6c9e79aa0377a056565529f99fe8451eefa3e2a8 /common/spl | |
parent | 9d6ee3e23591f4eb733153aa7776f53d9fef57f1 (diff) | |
download | u-boot-e413033d3553402b313a4e2b1839c2d19e7cdcd3.tar.xz |
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/spl')
-rw-r--r-- | common/spl/spl_ymodem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/spl/spl_ymodem.c b/common/spl/spl_ymodem.c index 8ad580d8ae..c02c05624d 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; |