summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatt Porter <mporter@ti.com>2012-01-31 12:03:57 (GMT)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-03-26 21:09:25 (GMT)
commit24de357a30dbabf8e0eb5acb43397851b0bc53fb (patch)
treef530b6ead4dbc66adb6af50936757e35289dcdb0 /lib
parent71e6840279e3da7f5c0c1f8002bb9943bd90aec6 (diff)
downloadu-boot-24de357a30dbabf8e0eb5acb43397851b0bc53fb.tar.xz
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 'lib')
-rw-r--r--lib/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index e6e6ec6..4b5734a 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -55,6 +55,9 @@ else
COBJS-$(CONFIG_SPL_SPI_FLASH_SUPPORT) += display_options.o
endif
+ifdef CONFIG_SPL_BUILD
+COBJS-$(CONFIG_SPL_YMODEM_SUPPORT) += crc16.o
+endif
COBJS-y += ctype.o
COBJS-y += div64.o
COBJS-y += string.o