dfu: select HASH
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 16 Jan 2018 08:44:13 +0000 (09:44 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 26 Jan 2018 14:32:33 +0000 (20:02 +0530)
The DFU code relies on the HASH config option. Make sure it is always there
by selecting it.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/dfu/Kconfig

index 56a98f5273cea7103e30dcce6f8ceef56055a575..fa27efbb405398435797e08b7e607b5ea4d9a065 100644 (file)
@@ -2,6 +2,7 @@ menu "DFU support"
 
 config USB_FUNCTION_DFU
        bool
+       select HASH
 
 if CMD_DFU
 config DFU_TFTP