diff mbox series

[1/1] dfu: DFU_MTD depends on CMD_MTDPARTS

Message ID 20200721180631.6367-1-xypron.glpk@gmx.de
State Accepted
Commit 40c79420d0a70fe0f52f79ab9a8147a2a5e38e2c
Delegated to: Lukasz Majewski
Headers show
Series [1/1] dfu: DFU_MTD depends on CMD_MTDPARTS | expand

Commit Message

Heinrich Schuchardt July 21, 2020, 6:06 p.m. UTC
Function mtdparts_init() is needed for the DFU MTD driver.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
 drivers/dfu/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff mbox series


diff --git a/drivers/dfu/Kconfig b/drivers/dfu/Kconfig
index 46c915f9e5..106f38817a 100644
--- a/drivers/dfu/Kconfig
+++ b/drivers/dfu/Kconfig
@@ -70,6 +70,7 @@  config DFU_SF_PART
 config DFU_MTD
 	bool "MTD back end for DFU"
 	depends on DM_MTD
+	depends on CMD_MTDPARTS
 	  This option enables using DFU to read and write to on any MTD device.