summaryrefslogtreecommitdiffstats
path: root/include/spl.h
diff options
context:
space:
mode:
authorAndreas Dannenberg <dannenberg@ti.com>2019-08-15 15:55:27 -0500
committerTom Rini <trini@konsulko.com>2019-10-11 10:07:33 -0400
commite413033d3553402b313a4e2b1839c2d19e7cdcd3 (patch)
tree6c9e79aa0377a056565529f99fe8451eefa3e2a8 /include/spl.h
parent9d6ee3e23591f4eb733153aa7776f53d9fef57f1 (diff)
downloadu-boot-e413033d3553402b313a4e2b1839c2d19e7cdcd3.tar.gz
u-boot-e413033d3553402b313a4e2b1839c2d19e7cdcd3.tar.xz
u-boot-e413033d3553402b313a4e2b1839c2d19e7cdcd3.zip
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 'include/spl.h')
-rw-r--r--include/spl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/spl.h b/include/spl.h
index 4359636d87..b5387ef273 100644
--- a/include/spl.h
+++ b/include/spl.h
@@ -434,6 +434,9 @@ int spl_mmc_load(struct spl_image_info *spl_image,
int raw_part,
unsigned long raw_sect);
+int spl_ymodem_load_image(struct spl_image_info *spl_image,
+ struct spl_boot_device *bootdev);
+
/**
* spl_invoke_atf - boot using an ARM trusted firmware image
*/