From: Marek Vasut <marek.vasut@gmail.com>
Date: Sat, 7 Apr 2018 14:06:11 +0000 (+0200)
Subject: tpl: ymodem: Add CONFIG_TPL_YMODEM_SUPPORT to Kconfig
X-Git-Tag: v2025.01-rc5-pxa1908~4500
X-Git-Url: http://git.dujemihanovic.xyz/%7B%7B%20.Permalink%20%7D%7D?a=commitdiff_plain;h=6ce3d67c70766ac9c8164e6c05c03894a108d487;p=u-boot.git

tpl: ymodem: Add CONFIG_TPL_YMODEM_SUPPORT to Kconfig

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

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