]> git.dujemihanovic.xyz Git - u-boot.git/commit
dfu: nand: Add missing dependency on CMD_MTDPARTS
authorBoris Brezillon <boris.brezillon@bootlin.com>
Tue, 13 Nov 2018 11:43:10 +0000 (12:43 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 13 Nov 2018 13:23:10 +0000 (18:53 +0530)
commit96c2961ba68e0baf463998301a09eddf76f462e6
treed040f880ad7a16da919d2d8041eb39830ebd84d2
parent5ffcd50612f6e716ea9479bea0edfdc89f7a0f0b
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: Jagan Teki <jagan@amarulasolutions.com>
Fixes: 6828e602b722d ("dfu: Migrate to Kconfig")
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/dfu/Kconfig