[U-Boot,3/9] cmd: thor: select DFU subsystem also for 'thor' download tool

Message ID 20181107150105.23165-4-m.szyprowski@samsung.com
State Changes Requested
Delegated to: Minkyu Kang
Headers show
Series
  • ARM: Exynos: Add TM2 board support
Related show

Commit Message

Marek Szyprowski Nov. 7, 2018, 3 p.m.
'THOR' download command requires DFU infrastructure to properly flash
board images. It can be used without enabling DFU command, so add such
dependency to Kconfig.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
---
 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Lukasz Majewski Nov. 21, 2018, 12:51 a.m. | #1
On Wed, 07 Nov 2018 16:00:59 +0100
Marek Szyprowski <m.szyprowski@samsung.com> wrote:

> 'THOR' download command requires DFU infrastructure to properly flash
> board images. It can be used without enabling DFU command, so add such
> dependency to Kconfig.
> 
> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
> ---
>  cmd/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index d66f710ad0..0af08aeab3 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -340,6 +340,7 @@ config CMD_FITUPD
>  
>  config CMD_THOR_DOWNLOAD
>  	bool "thor - TIZEN 'thor' download"
> +	select DFU
>  	help
>  	  Implements the 'thor' download protocol. This is a way of
>  	  downloading a software update over USB from an attached
> host.

Acked-by: Lukasz Majewski <lukma@denx.de>


Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de

Patch

diff --git a/cmd/Kconfig b/cmd/Kconfig
index d66f710ad0..0af08aeab3 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -340,6 +340,7 @@  config CMD_FITUPD
 
 config CMD_THOR_DOWNLOAD
 	bool "thor - TIZEN 'thor' download"
+	select DFU
 	help
 	  Implements the 'thor' download protocol. This is a way of
 	  downloading a software update over USB from an attached host.