mtd: ensure MTD_RAW_NAND is compiled when ENV_IS_IN_NAND is selected
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 3 Oct 2019 17:50:13 +0000 (19:50 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 4 Dec 2019 18:26:17 +0000 (13:26 -0500)
Raw NAND support must be enabled when the environment is in NAND.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
configs/bk4r1_defconfig
configs/harmony_defconfig

index 7ad23f5dc836ea59e270c358601c49fffac7b55f..03c2ec16aa8c6e4bd474f4fb4635a5e8689749b2 100644 (file)
@@ -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
index 4429896c9215a1f4e0b021f5fb949d5bb455295b..dedc04eab4c3f9e593248489a23eb74ddb556d3d 100644 (file)
@@ -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