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>
This commit is contained in:
Matt Porter
2012-01-31 12:03:57 +00:00
committed by Albert ARIBAUD
parent 71e6840279
commit 24de357a30
6 changed files with 93 additions and 0 deletions

View File

@@ -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