commit | 8ece30480d05d875d5530d970f506b62d049779f | [log] [tgz] |
---|---|---|
author | Miquel Raynal <miquel.raynal@bootlin.com> | Thu Oct 03 19:50:15 2019 +0200 |
committer | Tom Rini <trini@konsulko.com> | Wed Dec 04 13:26:17 2019 -0500 |
tree | 990778239f4ccc8208d17a75957881fd26ab3dbe | |
parent | 325559b9809cf669b62100665901666ffd8adc07 [diff] |
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: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>