From 6ce3d67c70766ac9c8164e6c05c03894a108d487 Mon Sep 17 00:00:00 2001
From: Marek Vasut <marek.vasut@gmail.com>
Date: Sat, 7 Apr 2018 16:06:11 +0200
Subject: [PATCH] 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>
---
 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.39.5