Skip to content
Commit 96c2961b authored by Boris Brezillon's avatar Boris Brezillon Committed by Jagan Teki
Browse files

dfu: nand: Add missing dependency on CMD_MTDPARTS



dfu_fill_entity_nand() uses find_dev_and_part() and mtdparts_init()
which are provided by cmd/mtdparts.c.

Add the dependency to avoid build failures when CMD_MTDPARTS is not
selected.

Reported-by: default avatarJagan Teki <jagan@amarulasolutions.com>
Fixes: 6828e602

 ("dfu: Migrate to Kconfig")
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: default avatarLukasz Majewski <lukma@denx.de>
Reviewed-by: default avatarJagan Teki <jagan@openedev.com>
parent 5ffcd506
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment