diff mbox

[U-Boot,v3,1/3] spl: Kconfig: dfu: spl-dfu depends on SPL_RAM_SUPPORT

Message ID 1493892930-18194-2-git-send-email-ravibabu@ti.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

B, Ravi May 4, 2017, 10:15 a.m. UTC
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>
---
 common/spl/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Tom Rini May 12, 2017, 5:20 p.m. UTC | #1
On Thu, May 04, 2017 at 03:45:28PM +0530, B, Ravi wrote:

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

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index ea6fbb6..1231351 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