diff mbox series

[U-Boot] tpl: ymodem: Add CONFIG_TPL_YMODEM_SUPPORT to Kconfig

Message ID 20180407140611.10994-1-marek.vasut+renesas@gmail.com
State Accepted
Commit 6ce3d67c70766ac9c8164e6c05c03894a108d487
Delegated to: Tom Rini
Headers show
Series [U-Boot] tpl: ymodem: Add CONFIG_TPL_YMODEM_SUPPORT to Kconfig | expand

Commit Message

Marek Vasut April 7, 2018, 2:06 p.m. UTC
Add Kconfig entry for CONFIG_TPL_YMODEM_SUPPORT symbol to match the SPL one.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Tom Rini <trini@konsulko.com>
---
 common/spl/Kconfig | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Tom Rini April 11, 2018, 8:59 p.m. UTC | #1
On Sat, Apr 07, 2018 at 04:06:11PM +0200, Marek Vasut wrote:

> Add Kconfig entry for CONFIG_TPL_YMODEM_SUPPORT symbol to match the SPL one.
> 
> Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
> Cc: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index d0e7d389bb..02457cb74b 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -935,6 +935,14 @@  config TPL_SPI_SUPPORT
 	  Enable support for using SPI in TPL. See SPL_SPI_SUPPORT for
 	  details.
 
+config TPL_YMODEM_SUPPORT
+	bool "Support loading using Ymodem"
+	help
+	  While loading from serial is slow it can be a useful backup when
+	  there is no other option. The Ymodem protocol provides a reliable
+	  means of transmitting U-Boot over a serial line for using in TPL,
+	  with a checksum to ensure correctness.
+
 endif # TPL
 
 endif # SPL