tpl: ymodem: Add CONFIG_TPL_YMODEM_SUPPORT to Kconfig
authorMarek Vasut <[email protected]>
Sat, 7 Apr 2018 14:06:11 +0000 (16:06 +0200)
committerTom Rini <[email protected]>
Wed, 11 Apr 2018 17:22:05 +0000 (13:22 -0400)
Add Kconfig entry for CONFIG_TPL_YMODEM_SUPPORT symbol to match the SPL one.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Tom Rini <[email protected]>
common/spl/Kconfig

index d0e7d389bbcc72d9b93de73d3f523a0817ad84ed..02457cb74b0120a246c8a10d7ffbc5c53a88b127 100644 (file)
@@ -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