mtd: ensure MTD is compiled when CMD_MTDPARTS is selected
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 3 Oct 2019 17:50:15 +0000 (19:50 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 4 Dec 2019 18:26:17 +0000 (13:26 -0500)
commitf6434a95619e52ffaa1ac7a3a030d00440e479c3
tree990778239f4ccc8208d17a75957881fd26ab3dbe
parent2fa872ee7728b9c8863ab7824ec4f2508869a31f
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>
81 files changed:
configs/BSC9131RDB_NAND_SYSCLK100_defconfig
configs/BSC9131RDB_NAND_defconfig
configs/BSC9132QDS_NAND_DDRCLK100_defconfig
configs/BSC9132QDS_NAND_DDRCLK133_defconfig
configs/CHIP_pro_defconfig
configs/MPC8313ERDB_NAND_33_defconfig
configs/MPC8313ERDB_NAND_66_defconfig
configs/Nintendo_NES_Classic_Edition_defconfig
configs/P1010RDB-PA_36BIT_NAND_defconfig
configs/P1010RDB-PA_NAND_defconfig
configs/P1010RDB-PB_36BIT_NAND_defconfig
configs/P1010RDB-PB_NAND_defconfig
configs/P1020RDB-PD_NAND_defconfig
configs/P1021RDB-PC_36BIT_NAND_defconfig
configs/P1021RDB-PC_NAND_defconfig
configs/P1022DS_36BIT_NAND_defconfig
configs/P1022DS_NAND_defconfig
configs/P2020RDB-PC_36BIT_NAND_defconfig
configs/P2020RDB-PC_NAND_defconfig
configs/T1023RDB_NAND_defconfig
configs/T1024QDS_NAND_defconfig
configs/T1024RDB_NAND_defconfig
configs/T1040D4RDB_NAND_defconfig
configs/T1040RDB_NAND_defconfig
configs/T1042D4RDB_NAND_defconfig
configs/T1042RDB_PI_NAND_SECURE_BOOT_defconfig
configs/T1042RDB_PI_NAND_defconfig
configs/T2080QDS_NAND_defconfig
configs/T2080RDB_NAND_defconfig
configs/T2081QDS_NAND_defconfig
configs/am335x_evm_defconfig
configs/am335x_hs_evm_defconfig
configs/am335x_hs_evm_uart_defconfig
configs/am335x_igep003x_defconfig
configs/am43xx_evm_defconfig
configs/am43xx_evm_rtconly_defconfig
configs/am43xx_evm_usbhost_boot_defconfig
configs/am43xx_hs_evm_defconfig
configs/ap152_defconfig
configs/aristainetos2_defconfig
configs/aristainetos2b_defconfig
configs/aristainetos_defconfig
configs/at91sam9n12ek_mmc_defconfig
configs/at91sam9n12ek_spiflash_defconfig
configs/axm_defconfig
configs/brppt1_nand_defconfig
configs/cairo_defconfig
configs/chiliboard_defconfig
configs/cm_fx6_defconfig
configs/cm_t335_defconfig
configs/cm_t35_defconfig
configs/cm_t43_defconfig
configs/corvus_defconfig
configs/da850evm_direct_nor_defconfig
configs/db-88f6281-bp-spi_defconfig
configs/devkit8000_defconfig
configs/draco_defconfig
configs/etamin_defconfig
configs/flea3_defconfig
configs/igep00x0_defconfig
configs/lion-rk3368_defconfig
configs/mscc_jr2_defconfig
configs/mscc_luton_defconfig
configs/mscc_serval_defconfig
configs/mscc_servalt_defconfig
configs/mx35pdk_defconfig
configs/omap3_zoom1_defconfig
configs/pengwyn_defconfig
configs/pxm2_defconfig
configs/rastaban_defconfig
configs/rut_defconfig
configs/sandbox64_defconfig
configs/sandbox_defconfig
configs/smartweb_defconfig
configs/socfpga_mcvevk_defconfig
configs/taurus_defconfig
configs/thuban_defconfig
configs/ti816x_evm_defconfig
configs/wb45n_defconfig
configs/woodburn_defconfig
configs/woodburn_sd_defconfig