From 88718be3001055fa2801a44ab10570279b3f2cb7 Mon Sep 17 00:00:00 2001 From: Miquel Raynal Date: Thu, 3 Oct 2019 19:50:03 +0200 Subject: mtd: rename CONFIG_NAND -> CONFIG_MTD_RAW_NAND Add more clarity by changing the Kconfig entry name. Signed-off-by: Miquel Raynal [trini: Re-run migration, update a few more cases] Signed-off-by: Tom Rini Reviewed-by: Boris Brezillon --- configs/mx28evk_spi_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs/mx28evk_spi_defconfig') diff --git a/configs/mx28evk_spi_defconfig b/configs/mx28evk_spi_defconfig index 9bbc7d6..e3dd764 100644 --- a/configs/mx28evk_spi_defconfig +++ b/configs/mx28evk_spi_defconfig @@ -40,7 +40,7 @@ CONFIG_CMD_UBI=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_MXS_GPIO=y CONFIG_MMC_MXS=y -CONFIG_NAND=y +CONFIG_MTD_RAW_NAND=y CONFIG_NAND_MXS=y CONFIG_MII=y CONFIG_CONS_INDEX=0 -- cgit v1.1 From d4c2f6b7e3e2bfd297367d292aa641095c7a18e2 Mon Sep 17 00:00:00 2001 From: Miquel Raynal Date: Thu, 3 Oct 2019 19:50:07 +0200 Subject: mtd: ensure MTD/the raw NAND core are compiled when there is a NAND flash Both symbols must be enabled when there is a raw NAND driver selected. Also enable them when CONFIG_CMD_NAND is selected to avoid breaking things when we'll further rework the MTD dependency description. Signed-off-by: Miquel Raynal Reviewed-by: Boris Brezillon [trini: Rebase and migrate a few more boards here] Signed-off-by: Tom Rini --- configs/mx28evk_spi_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/mx28evk_spi_defconfig') diff --git a/configs/mx28evk_spi_defconfig b/configs/mx28evk_spi_defconfig index e3dd764..f09777c 100644 --- a/configs/mx28evk_spi_defconfig +++ b/configs/mx28evk_spi_defconfig @@ -53,3 +53,4 @@ CONFIG_USB_ETHER_ASIX=y CONFIG_USB_ETHER_SMSC95XX=y CONFIG_VIDEO=y CONFIG_OF_LIBFDT=y +CONFIG_MTD=y -- cgit v1.1 From 2fa872ee7728b9c8863ab7824ec4f2508869a31f Mon Sep 17 00:00:00 2001 From: Miquel Raynal Date: Thu, 3 Oct 2019 19:50:14 +0200 Subject: mtd: ensure CMD_NAND is compiled when its options are selected In some files, options of CMD_NAND are selected but not the command itself. Fix this inconsistency. Signed-off-by: Miquel Raynal Reviewed-by: Boris Brezillon --- configs/mx28evk_spi_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/mx28evk_spi_defconfig') diff --git a/configs/mx28evk_spi_defconfig b/configs/mx28evk_spi_defconfig index f09777c..3adcc75 100644 --- a/configs/mx28evk_spi_defconfig +++ b/configs/mx28evk_spi_defconfig @@ -21,6 +21,7 @@ CONFIG_CMD_BOOTZ=y # CONFIG_CMD_FLASH is not set CONFIG_CMD_GPIO=y CONFIG_CMD_MMC=y +CONFIG_CMD_NAND=y CONFIG_CMD_NAND_TRIMFFS=y CONFIG_CMD_USB=y CONFIG_CMD_DHCP=y -- cgit v1.1