From 7ccc3f30187f2fe17b50dc108e7219dde34857ee Mon Sep 17 00:00:00 2001 From: Miquel Raynal Date: Thu, 3 Oct 2019 19:50:13 +0200 Subject: [PATCH] mtd: ensure MTD_RAW_NAND is compiled when ENV_IS_IN_NAND is selected Raw NAND support must be enabled when the environment is in NAND. Signed-off-by: Miquel Raynal Reviewed-by: Boris Brezillon --- configs/bk4r1_defconfig | 2 ++ configs/harmony_defconfig | 1 + 2 files changed, 3 insertions(+) diff --git a/configs/bk4r1_defconfig b/configs/bk4r1_defconfig index 7ad23f5dc8..03c2ec16aa 100644 --- a/configs/bk4r1_defconfig +++ b/configs/bk4r1_defconfig @@ -65,6 +65,8 @@ CONFIG_NAND_VF610_NFC_DT=y CONFIG_SYS_NAND_BUSWIDTH_16BIT=y CONFIG_DM_SPI_FLASH=y CONFIG_MTD=y +CONFIG_MTD_RAW_NAND=y +CONFIG_MTD_UBI=y CONFIG_SPI_FLASH_STMICRO=y CONFIG_SPI_FLASH_MTD=y CONFIG_PHYLIB=y diff --git a/configs/harmony_defconfig b/configs/harmony_defconfig index 4429896c92..dedc04eab4 100644 --- a/configs/harmony_defconfig +++ b/configs/harmony_defconfig @@ -34,6 +34,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_SPL_DM=y CONFIG_MTD=y CONFIG_DM_MTD=y +CONFIG_MTD_RAW_NAND=y CONFIG_MTD_UBI=y CONFIG_MTD_UBI_FASTMAP=y CONFIG_PCI=y -- 2.39.5