summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-07-21 20:06:31 +0200
committerMarek Vasut <marex@denx.de>2020-09-01 14:47:43 +0200
commit40c79420d0a70fe0f52f79ab9a8147a2a5e38e2c (patch)
tree5fb2e3f33fd494b02e98b4059748f690ebbf6867
parent4e620eb98bcb01bc725dd4434f2dcb74aacec71b (diff)
downloadu-boot-40c79420d0a70fe0f52f79ab9a8147a2a5e38e2c.tar.gz
dfu: DFU_MTD depends on CMD_MTDPARTS
Function mtdparts_init() is needed for the DFU MTD driver. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
-rw-r--r--drivers/dfu/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dfu/Kconfig b/drivers/dfu/Kconfig
index 5d45d7d7c2..0eec00ba73 100644
--- a/drivers/dfu/Kconfig
+++ b/drivers/dfu/Kconfig
@@ -71,6 +71,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.