[PATCH 1/1] dfu: DFU_MTD depends on CMD_MTDPARTS

Heinrich Schuchardt xypron.glpk at gmx.de
Tue Jul 21 20:06:31 CEST 2020


Function mtdparts_init() is needed for the DFU MTD driver.

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

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
 	help
 	  This option enables using DFU to read and write to on any MTD device.

--
2.27.0



More information about the U-Boot mailing list