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/am335x_hs_evm_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs/am335x_hs_evm_defconfig') diff --git a/configs/am335x_hs_evm_defconfig b/configs/am335x_hs_evm_defconfig index 9473fc5720..18b56c2fc3 100644 --- a/configs/am335x_hs_evm_defconfig +++ b/configs/am335x_hs_evm_defconfig @@ -43,7 +43,7 @@ CONFIG_MISC=y CONFIG_DM_MMC=y # CONFIG_MMC_HW_PARTITIONING is not set CONFIG_MMC_OMAP_HS=y -CONFIG_NAND=y +CONFIG_MTD_RAW_NAND=y CONFIG_DM_SPI_FLASH=y CONFIG_SF_DEFAULT_SPEED=24000000 CONFIG_SPI_FLASH_WINBOND=y -- cgit 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/am335x_hs_evm_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/am335x_hs_evm_defconfig') diff --git a/configs/am335x_hs_evm_defconfig b/configs/am335x_hs_evm_defconfig index 18b56c2fc3..bf0ffd538a 100644 --- a/configs/am335x_hs_evm_defconfig +++ b/configs/am335x_hs_evm_defconfig @@ -70,3 +70,4 @@ CONFIG_USB_ETHER=y CONFIG_SPL_TINY_MEMSET=y CONFIG_RSA=y CONFIG_LZO=y +CONFIG_MTD=y -- cgit 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/am335x_hs_evm_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/am335x_hs_evm_defconfig') diff --git a/configs/am335x_hs_evm_defconfig b/configs/am335x_hs_evm_defconfig index bf0ffd538a..e804a78616 100644 --- a/configs/am335x_hs_evm_defconfig +++ b/configs/am335x_hs_evm_defconfig @@ -71,3 +71,4 @@ CONFIG_SPL_TINY_MEMSET=y CONFIG_RSA=y CONFIG_LZO=y CONFIG_MTD=y +CONFIG_MTD_RAW_NAND=y -- cgit