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

Marek Vasut marek.vasut at gmail.com
Sat Apr 7 14:06:11 UTC 2018


Add Kconfig entry for CONFIG_TPL_YMODEM_SUPPORT symbol to match the SPL one.

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

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



More information about the U-Boot mailing list