From: B, Ravi <ravibabu@ti.com>
Date: Thu, 4 May 2017 10:15:28 +0000 (+0530)
Subject: spl: Kconfig: dfu: spl-dfu depends on SPL_RAM_SUPPORT
X-Git-Tag: v2025.01-rc5-pxa1908~6947
X-Git-Url: http://git.dujemihanovic.xyz/img/html/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=1b19cbdbf7457629bfdf13d0995d7b0d1642c7fb;p=u-boot.git

spl: Kconfig: dfu: spl-dfu depends on SPL_RAM_SUPPORT

Since SPL_DFU_SUPPORT is depends on SPL_RAM_SUPPORT,
hence select SPL_DFU_SUPPORT only when
SPL_RAM_SUPPORT is chosen.

Signed-off-by: Ravi Babu <ravibabu@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
---

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index ea6fbb60ad..12313515e3 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -646,6 +646,7 @@ config SPL_USBETH_SUPPORT
 config SPL_DFU_SUPPORT
 	bool "Support DFU (Device Firmware Upgarde)"
 	select SPL_HASH_SUPPORT
+	depends on SPL_RAM_SUPPORT
 	help
 	  This feature enables the DFU (Device Firmware Upgarde) in SPL with
 	  RAM memory device support. The ROM code will load and execute