diff options
author | Matt Porter <mporter@ti.com> | 2012-01-31 12:03:57 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-03-26 23:09:25 +0200 |
commit | 24de357a30dbabf8e0eb5acb43397851b0bc53fb (patch) | |
tree | f530b6ead4dbc66adb6af50936757e35289dcdb0 /arch/arm/cpu/armv7/omap-common/spl.c | |
parent | 71e6840279e3da7f5c0c1f8002bb9943bd90aec6 (diff) | |
download | u-boot-imx-24de357a30dbabf8e0eb5acb43397851b0bc53fb.zip u-boot-imx-24de357a30dbabf8e0eb5acb43397851b0bc53fb.tar.gz u-boot-imx-24de357a30dbabf8e0eb5acb43397851b0bc53fb.tar.bz2 |
SPL: Add YMODEM over UART load support
Adds support for loading U-Boot from UART using YMODEM protocol.
If YMODEM support is enabled in SPL and the romcode indicates
that SPL loaded via UART then SPL will wait for start of a
YMODEM transfer via the console port.
Signed-off-by: Matt Porter <mporter@ti.com>
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/cpu/armv7/omap-common/spl.c')
-rw-r--r-- | arch/arm/cpu/armv7/omap-common/spl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/omap-common/spl.c b/arch/arm/cpu/armv7/omap-common/spl.c index 3a2d957..99bb382 100644 --- a/arch/arm/cpu/armv7/omap-common/spl.c +++ b/arch/arm/cpu/armv7/omap-common/spl.c @@ -133,6 +133,11 @@ void board_init_r(gd_t *id, ulong dummy) spl_nand_load_image(); break; #endif +#ifdef CONFIG_SPL_YMODEM_SUPPORT + case BOOT_DEVICE_UART: + spl_ymodem_load_image(); + break; +#endif default: printf("SPL: Un-supported Boot Device - %d!!!\n", boot_device); hang(); |