summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2019-10-03 19:50:13 +0200
committerTom Rini <trini@konsulko.com>2019-12-04 13:26:17 -0500
commit7ccc3f30187f2fe17b50dc108e7219dde34857ee (patch)
tree0a75d2f8fdc98b0d407b0b134feb4535866fd74f
parent00e270473e6d7b8610a4abac739509d1d8db22b5 (diff)
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 <miquel.raynal@bootlin.com> Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
-rw-r--r--configs/bk4r1_defconfig2
-rw-r--r--configs/harmony_defconfig1
2 files changed, 3 insertions, 0 deletions
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