Skip to content
Snippets Groups Projects
Commit f6434a95 authored by Miquel Raynal's avatar Miquel Raynal Committed by Tom Rini
Browse files

mtd: ensure MTD is compiled when CMD_MTDPARTS is selected


MTD support must be enabled when using mtdparts. Indeed, functions
like get_mtd_info(), get_mtd_device() and put_mtd_device() are in
drivers/mtd/mtd_uboot.c and are built only with CONFIG_MTD.

Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: default avatarBoris Brezillon <boris.brezillon@bootlin.com>
parent 2fa872ee
No related branches found
No related tags found
Loading
Showing
with 20 additions and 0 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment