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 /common | |
parent | 71e6840279e3da7f5c0c1f8002bb9943bd90aec6 (diff) |
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 'common')
-rw-r--r-- | common/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile index fd9b3b053d7..04faa0b1de3 100644 --- a/common/Makefile +++ b/common/Makefile @@ -185,6 +185,9 @@ COBJS-$(CONFIG_UPDATE_TFTP) += update.o COBJS-$(CONFIG_USB_KEYBOARD) += usb_kbd.o endif +ifdef CONFIG_SPL_BUILD +COBJS-$(CONFIG_SPL_YMODEM_SUPPORT) += xyzModem.o +endif COBJS-y += console.o COBJS-y += dlmalloc.o COBJS-y += memsize.o |