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>
This commit is contained in:
Heinrich Schuchardt 2020-07-21 20:06:31 +02:00 committed by Marek Vasut
parent 4e620eb98b
commit 40c79420d0

View file

@ -71,6 +71,7 @@ config DFU_SF_PART
config DFU_MTD config DFU_MTD
bool "MTD back end for DFU" bool "MTD back end for DFU"
depends on DM_MTD depends on DM_MTD
depends on CMD_MTDPARTS
help help
This option enables using DFU to read and write to on any MTD device. This option enables using DFU to read and write to on any MTD device.