From f6434a95619e52ffaa1ac7a3a030d00440e479c3 Mon Sep 17 00:00:00 2001 From: Miquel Raynal Date: Thu, 3 Oct 2019 19:50:15 +0200 Subject: 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 Reviewed-by: Boris Brezillon --- configs/T1042RDB_PI_NAND_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/T1042RDB_PI_NAND_defconfig') diff --git a/configs/T1042RDB_PI_NAND_defconfig b/configs/T1042RDB_PI_NAND_defconfig index abe5f936b2..b6c7a2b5c0 100644 --- a/configs/T1042RDB_PI_NAND_defconfig +++ b/configs/T1042RDB_PI_NAND_defconfig @@ -76,3 +76,4 @@ CONFIG_VIDEO=y CONFIG_CFB_CONSOLE_ANSI=y CONFIG_OF_LIBFDT=y CONFIG_MTD=y +CONFIG_MTD_RAW_NAND=y -- cgit v1.2.3