spl: Add dependency on serial to Ymodem
authorAlex Kiernan <alex.kiernan@gmail.com>
Thu, 19 Apr 2018 04:32:52 +0000 (04:32 +0000)
committerTom Rini <trini@konsulko.com>
Sat, 28 Apr 2018 22:32:23 +0000 (18:32 -0400)
Building with Ymodem support requires serial in SPL/TPL, add that
dependency here.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
common/spl/Kconfig

index 4d275655660724c2b07ea4c0d19646d144202b89..c5d4b5e14bd158b7087a4ce610f6aaa4b37501eb 100644 (file)
@@ -751,6 +751,7 @@ config SPL_WATCHDOG_SUPPORT
 
 config SPL_YMODEM_SUPPORT
        bool "Support loading using Ymodem"
+       depends on SPL_SERIAL_SUPPORT
        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
@@ -951,6 +952,7 @@ config TPL_SPI_SUPPORT
 
 config TPL_YMODEM_SUPPORT
        bool "Support loading using Ymodem"
+       depends on TPL_SERIAL_SUPPORT
        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