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/omapl138_lcdk_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs/omapl138_lcdk_defconfig') diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig index 59a2ca2256..b212104484 100644 --- a/configs/omapl138_lcdk_defconfig +++ b/configs/omapl138_lcdk_defconfig @@ -54,7 +54,7 @@ CONFIG_DM_I2C=y CONFIG_SYS_I2C_DAVINCI=y CONFIG_DM_MMC=y CONFIG_MTD=y -CONFIG_NAND=y +CONFIG_MTD_RAW_NAND=y CONFIG_SYS_NAND_USE_FLASH_BBT=y CONFIG_NAND_DAVINCI=y CONFIG_SYS_NAND_BUSWIDTH_16BIT=y -- cgit From 1de770d5442769778c96bdac271590b44b2c7b78 Mon Sep 17 00:00:00 2001 From: Miquel Raynal Date: Thu, 3 Oct 2019 19:50:04 +0200 Subject: mtd: rename CONFIG_MTD -> CONFIG_DM_MTD CONFIG_MTD must be reserved for the MTD core. Like any other subsystem, prefix the symbol by DM when it comes to DM support. Signed-off-by: Miquel Raynal Reviewed-by: Boris Brezillon [trini: Add Kconfig files] Signed-off-by: Tom Rini --- configs/omapl138_lcdk_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs/omapl138_lcdk_defconfig') diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig index b212104484..b03de0d428 100644 --- a/configs/omapl138_lcdk_defconfig +++ b/configs/omapl138_lcdk_defconfig @@ -53,7 +53,7 @@ CONFIG_DA8XX_GPIO=y CONFIG_DM_I2C=y CONFIG_SYS_I2C_DAVINCI=y CONFIG_DM_MMC=y -CONFIG_MTD=y +CONFIG_DM_MTD=y CONFIG_MTD_RAW_NAND=y CONFIG_SYS_NAND_USE_FLASH_BBT=y CONFIG_NAND_DAVINCI=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/omapl138_lcdk_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/omapl138_lcdk_defconfig') diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig index b03de0d428..8fc83d79ab 100644 --- a/configs/omapl138_lcdk_defconfig +++ b/configs/omapl138_lcdk_defconfig @@ -81,3 +81,4 @@ CONFIG_USB_MUSB_DA8XX=y CONFIG_USB_MUSB_PIO_ONLY=y CONFIG_USB_STORAGE=y # CONFIG_SPL_OF_LIBFDT is not set +CONFIG_MTD=y -- cgit