]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mtd: rename CONFIG_MTD -> CONFIG_DM_MTD
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 3 Oct 2019 17:50:04 +0000 (19:50 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 4 Dec 2019 04:04:10 +0000 (23:04 -0500)
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 <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
[trini: Add Kconfig files]
Signed-off-by: Tom Rini <trini@konsulko.com>
84 files changed:
configs/10m50_defconfig
configs/3c120_defconfig
configs/adp-ae3xx_defconfig
configs/ae350_rv32_defconfig
configs/ae350_rv32_xip_defconfig
configs/ae350_rv64_defconfig
configs/ae350_rv64_xip_defconfig
configs/alt_defconfig
configs/am335x_guardian_defconfig
configs/bcm963158_ram_defconfig
configs/bcm968380gerg_ram_defconfig
configs/bcm968580xref_ram_defconfig
configs/bk4r1_defconfig
configs/boston32r2_defconfig
configs/boston32r2el_defconfig
configs/boston32r6_defconfig
configs/boston32r6el_defconfig
configs/boston64r2_defconfig
configs/boston64r2el_defconfig
configs/boston64r6_defconfig
configs/boston64r6el_defconfig
configs/colibri-imx6ull_defconfig
configs/colibri_imx7_defconfig
configs/colibri_t20_defconfig
configs/colibri_vf_defconfig
configs/comtrend_ct5361_ram_defconfig
configs/comtrend_vr3032u_ram_defconfig
configs/comtrend_wap5813n_ram_defconfig
configs/crs305-1g-4s_defconfig
configs/da850evm_defconfig
configs/da850evm_direct_nor_defconfig
configs/da850evm_nand_defconfig
configs/db-xc3-24g4xg_defconfig
configs/gardena-smart-gateway-mt7688-ram_defconfig
configs/gardena-smart-gateway-mt7688_defconfig
configs/gazerbeam_defconfig
configs/gose_defconfig
configs/harmony_defconfig
configs/huawei_hg556a_ram_defconfig
configs/imx6q_logic_defconfig
configs/j721e_evm_a72_defconfig
configs/khadas-vim2_defconfig
configs/koelsch_defconfig
configs/lager_defconfig
configs/libretech-ac_defconfig
configs/mccmon6_nor_defconfig
configs/mccmon6_sd_defconfig
configs/microchip_mpfs_icicle_defconfig
configs/mscc_ocelot_defconfig
configs/omapl138_lcdk_defconfig
configs/pcm052_defconfig
configs/pcm058_defconfig
configs/pfla02_defconfig
configs/phycore-am335x-r2-wega_defconfig
configs/phycore_pcl063_defconfig
configs/porter_defconfig
configs/qemu-riscv32_defconfig
configs/qemu-riscv32_smode_defconfig
configs/qemu-riscv32_spl_defconfig
configs/qemu-riscv64_defconfig
configs/qemu-riscv64_smode_defconfig
configs/qemu-riscv64_spl_defconfig
configs/qemu_arm64_defconfig
configs/qemu_arm_defconfig
configs/r8a77995_draak_defconfig
configs/sam9x60ek_qspiflash_defconfig
configs/sfr_nb4-ser_ram_defconfig
configs/sifive_fu540_defconfig
configs/silk_defconfig
configs/stm32f469-discovery_defconfig
configs/stm32f746-disco_defconfig
configs/stm32f769-disco_defconfig
configs/stm32mp15_basic_defconfig
configs/stm32mp15_optee_defconfig
configs/stm32mp15_trusted_defconfig
configs/stout_defconfig
configs/uDPU_defconfig
drivers/dfu/Kconfig
drivers/mtd/Kconfig
drivers/mtd/Makefile
drivers/mtd/mtd_uboot.c
drivers/mtd/nand/raw/Kconfig
drivers/mtd/nand/spi/Kconfig
include/flash.h

index 138bb523540613ef0ef88575bcd3d1759c88bee9..e99e97563e8ae9459d87eb1ba40f4b49be80c276 100644 (file)
@@ -26,7 +26,7 @@ CONFIG_DM_GPIO=y
 CONFIG_ALTERA_PIO=y
 CONFIG_MISC=y
 CONFIG_ALTERA_SYSID=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_MTD_DEVICE=y
 CONFIG_ALTERA_QSPI=y
index 08758ca17e297d51106ce3fd4952031a27a8e66e..e40f542d7b93dd52921dbb8bb922ceb68099cdba 100644 (file)
@@ -26,7 +26,7 @@ CONFIG_DM_GPIO=y
 CONFIG_ALTERA_PIO=y
 CONFIG_MISC=y
 CONFIG_ALTERA_SYSID=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
index 2ea0609e9a9d983e580c331e7ec78cbe37ea573f..1713cf92112d81659b9e4b19e055fb1554004dbe 100644 (file)
@@ -30,7 +30,7 @@ CONFIG_MMC=y
 CONFIG_DM_MMC=y
 CONFIG_FTSDC010=y
 CONFIG_FTSDC010_SDIO=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
index fdf3bdb958eca29796f4f7d47c3537a13931170b..6ee182d93d54ea68b4d6e935b1ba23eab8fe3992 100644 (file)
@@ -22,6 +22,7 @@ CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_MMC=y
 CONFIG_FTSDC010=y
 CONFIG_FTSDC010_SDIO=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
index 8ca2b8017c36b01e3aa8cc1b6e508a338d3e9bf6..719aeeef7feedc50f7ddbdefb75b8a7a9afb6ece 100644 (file)
@@ -22,6 +22,7 @@ CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_MMC=y
 CONFIG_FTSDC010=y
 CONFIG_FTSDC010_SDIO=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
index dcce3d20c7d145688ade138ca7a4d42d7b9dcd6b..5824c8539171e5809cf28f136afc9f64920582b0 100644 (file)
@@ -23,6 +23,7 @@ CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_MMC=y
 CONFIG_FTSDC010=y
 CONFIG_FTSDC010_SDIO=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
index 4544828b62835105322940376931131b42087656..85f2bcd55a31f5421bb6efc91d810f97f9d53724 100644 (file)
@@ -23,6 +23,7 @@ CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_MMC=y
 CONFIG_FTSDC010=y
 CONFIG_FTSDC010_SDIO=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
index f5b68e5c001d233210cc808383f45584c1f43f50..d0e2460ff26fea179b26778cf16e5fe7a8ecc6c0 100644 (file)
@@ -68,7 +68,7 @@ CONFIG_SYS_I2C_RCAR_IIC=y
 CONFIG_DM_MMC=y
 CONFIG_SH_MMCIF=y
 CONFIG_RENESAS_SDHI=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_DEVICE=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
index 9a8fe5fda63ca4bed91c10ee3b521dc65388d941..2d6204bb596873e0737bbc3b0297da2dddc5fa45 100644 (file)
@@ -60,7 +60,7 @@ CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_BOOTCOUNT_ENV=y
 CONFIG_MISC=y
 # CONFIG_MMC is not set
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
 CONFIG_SYS_NAND_U_BOOT_OFFS=0x100000
index 22b74cd6e94e4d1097483566195f9273ea3453b7..4a203be369961d4c4feabcaec3d63976b058b554 100644 (file)
@@ -36,7 +36,7 @@ CONFIG_LED=y
 CONFIG_LED_BCM6858=y
 CONFIG_LED_BLINK=y
 # CONFIG_MMC is not set
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_NAND_BRCMNAND=y
 CONFIG_NAND_BRCMNAND_63158=y
index c06be277299596400aeeb6f5530483137ec09077..e84c7b70a147179bd00efee87585516c43a6fff5 100644 (file)
@@ -39,7 +39,7 @@ CONFIG_BCM6345_GPIO=y
 CONFIG_LED=y
 CONFIG_LED_BCM6328=y
 CONFIG_LED_BLINK=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_NAND_BRCMNAND=y
 CONFIG_NAND_BRCMNAND_6838=y
index 9e860842a1a5c32cf511741d0273fa2972479e84..07c9928dc4a197f1a5615daff497f1e89d33a54c 100644 (file)
@@ -32,7 +32,7 @@ CONFIG_LED=y
 CONFIG_LED_BCM6858=y
 CONFIG_LED_BLINK=y
 # CONFIG_MMC is not set
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_NAND_BRCMNAND=y
 CONFIG_NAND_BRCMNAND_6858=y
index 9b686509b58ac6518021adb496d0f7b1024c0dcb..7b69d68ae2c2340806bed06d23932debff12c6fe 100644 (file)
@@ -58,7 +58,7 @@ CONFIG_SYS_EEPROM_PAGE_WRITE_BITS=6
 CONFIG_SYS_I2C_EEPROM_ADDR_LEN=2
 CONFIG_DM_MMC=y
 CONFIG_FSL_ESDHC_IMX=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_NAND_VF610_NFC=y
 CONFIG_NAND_VF610_NFC_DT=y
index 3904d0f0f924c3d51fbdc6302692df8f15c54f2f..309ed2e5c015f72855d3dc4662712819d210f7b1 100644 (file)
@@ -30,7 +30,7 @@ CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_ENV_ADDR=0xBFFE0000
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_CLK=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
index 8974e71e87fcf4d1524bc4bf7db9b546465a9aba..4c31a1a04c8088c0da05764735b93f08a4feba51 100644 (file)
@@ -31,7 +31,7 @@ CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_ENV_ADDR=0xBFFE0000
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_CLK=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
index 0724423f4fac2b66f63568dab7e046368655d908..7e334236f6703d7eb748861c678b23070cbaee1b 100644 (file)
@@ -31,7 +31,7 @@ CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_ENV_ADDR=0xBFFE0000
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_CLK=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
index 5d316d77c26556a8ace030cf8aeb06b323a776c2..e3a752c2d05fd964b65d0d424b11d3ed3c5f7a89 100644 (file)
@@ -32,7 +32,7 @@ CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_ENV_ADDR=0xBFFE0000
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_CLK=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
index 09aa97874d00aa720df245e08f6257561bb0627d..accedd4dc52adc01c2432ec3fb5e0910ec17ddd0 100644 (file)
@@ -31,7 +31,7 @@ CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_ENV_ADDR=0xFFFFFFFFBFFE0000
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_CLK=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
index d48083d923ec016aa0c280cbb01f0534388aa6a1..d8657a333eccf67e37ed8bfc9872506f87e0cf8a 100644 (file)
@@ -32,7 +32,7 @@ CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_ENV_ADDR=0xFFFFFFFFBFFE0000
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_CLK=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
index 140817f491315799d661a145b63404e668164857..e47268b7d81bd13332c1fb88031ea1984594ebdd 100644 (file)
@@ -31,7 +31,7 @@ CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_ENV_ADDR=0xFFFFFFFFBFFE0000
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_CLK=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
index 9c99a92ff204e359f30b828e94c86f3ad294e37a..6df19e2c1cf23d5ef4bfcb5cde55c2f5713eab24 100644 (file)
@@ -32,7 +32,7 @@ CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_ENV_ADDR=0xFFFFFFFFBFFE0000
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_CLK=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
index 73b53c34b10b2e49b6a7d89f53fbd08266f9410d..cc50d437e83d92488be64e3ff7d1a6c617755a0f 100644 (file)
@@ -58,7 +58,7 @@ CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_MXC=y
 CONFIG_DM_MMC=y
 CONFIG_FSL_USDHC=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_SYS_NAND_USE_FLASH_BBT=y
 CONFIG_NAND_MXS=y
index badaaa5e5bd02630b89fbf8ad6e4b9ecb1bee13f..79eec784a16d2bab64463c84948a9dade6c53564 100644 (file)
@@ -58,7 +58,7 @@ CONFIG_DM_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_DM_MMC=y
 CONFIG_FSL_USDHC=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_NAND_MXS_DT=y
 CONFIG_MTD_UBI_FASTMAP=y
index 0d18de020ef8cadf3c43fd492463356cc1408294..4428433b613c1777ea85893fa598a885d91c36a1 100644 (file)
@@ -42,7 +42,7 @@ CONFIG_IP_DEFRAG=y
 CONFIG_TFTP_BLOCKSIZE=1536
 CONFIG_SPL_DM=y
 CONFIG_SYS_I2C_TEGRA=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_UBI_FASTMAP=y
 CONFIG_DM_PMIC=y
 CONFIG_DM_REGULATOR=y
index 10f935e84ff645748b8dc5a75d9fddbe003085a4..1cbbff9876a0272e0abdccc070dfb07013ee756a 100644 (file)
@@ -62,7 +62,7 @@ CONFIG_VYBRID_GPIO=y
 CONFIG_DM_MMC=y
 # CONFIG_MMC_HW_PARTITIONING is not set
 CONFIG_FSL_ESDHC_IMX=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_NAND_VF610_NFC=y
 CONFIG_NAND_VF610_NFC_DT=y
index 46b4f0dd859493a6293b8841c6d744bee93aa8d3..55a20c827603713b401788f15096c944c956deee 100644 (file)
@@ -38,7 +38,7 @@ CONFIG_DM_GPIO=y
 CONFIG_BCM6345_GPIO=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
index e2383f29d12af1a3d015da555d217d14abb25fe3..835e09bb643e8d7b6b5b3f072655be3bf12f421a 100644 (file)
@@ -40,7 +40,7 @@ CONFIG_DM_GPIO=y
 CONFIG_LED=y
 CONFIG_LED_BCM6328=y
 CONFIG_LED_BLINK=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_NAND_BRCMNAND=y
 CONFIG_NAND_BRCMNAND_6368=y
index 21edb3e016a7684994613f90fda7ea1ce3edddbd..52ca909d6cd43ee9d06acbbcf3354cc7eaa058b4 100644 (file)
@@ -38,7 +38,7 @@ CONFIG_DM_GPIO=y
 CONFIG_BCM6345_GPIO=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
index 81f3d0accf4410a62641e8266ee976a2cd06df4e..dfff800fb88e8c690ff810b063b0708701e296d2 100644 (file)
@@ -35,7 +35,7 @@ CONFIG_BLK=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
 # CONFIG_MMC is not set
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_DEVICE=y
 CONFIG_SPI_FLASH_SFDP_SUPPORT=y
 CONFIG_SPI_FLASH_MACRONIX=y
index 1a9bf5253206cd7834f1c78507f020837d3f4804..c28cee589ae056c5bef5991c0e79ecc8f5e20437 100644 (file)
@@ -60,7 +60,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_DEVICE=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SF_DEFAULT_SPEED=30000000
index c8cdb2bd1736b0bec57d23793aa4bf3ac95e924c..65b774b448dbd471677c5efc2d308e0075c3a389 100644 (file)
@@ -48,7 +48,7 @@ CONFIG_DA8XX_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_DAVINCI=y
 # CONFIG_MMC is not set
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
index 2ffb9316b072d4e34003cff8dadeebe5f4cc2d2f..6a293b72f93afaf963d47205cf451d744987bc87 100644 (file)
@@ -54,7 +54,7 @@ CONFIG_DM_GPIO=y
 CONFIG_DA8XX_GPIO=y
 CONFIG_DM_I2C=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
index e190ffe982183649cbb0ead79e437ec8221c0d6a..bfac43a7bd12eb42b0d1439ce4055145ef83590d 100644 (file)
@@ -38,7 +38,7 @@ CONFIG_BLK=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
 # CONFIG_MMC is not set
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_DEVICE=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_SYS_NAND_USE_FLASH_BBT=y
index 9a149a54b505e82d87b97924336e88c399469501..6fea45e7b3c11868439bc1ad5ad10b409cbb651d 100644 (file)
@@ -53,7 +53,7 @@ CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_LED=y
 CONFIG_LED_BLINK=y
 CONFIG_LED_GPIO=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_SPI_NAND=y
 CONFIG_SPI_FLASH_GIGADEVICE=y
 CONFIG_SPI_FLASH_MACRONIX=y
index 45407d8387acb88f395a2d54516de8097f10b69b..992e915443b1995f61920eb3e6fc5b9a017a7d4c 100644 (file)
@@ -56,7 +56,7 @@ CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_LED=y
 CONFIG_LED_BLINK=y
 CONFIG_LED_GPIO=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_SPI_NAND=y
 CONFIG_SPI_FLASH_GIGADEVICE=y
 CONFIG_SPI_FLASH_MACRONIX=y
index 1c71666d35793c138ae44522190fe13090bb8b4c..f2907c72ae3387cbbc1af6cc2a17346bc4ab8a83 100644 (file)
@@ -169,7 +169,7 @@ CONFIG_GDSYS_SOC=y
 CONFIG_IHS_FPGA=y
 CONFIG_DM_MMC=y
 CONFIG_FSL_ESDHC=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
index 5983e4088e32ab812124bcd20d12560faaf0a888..fa7686694d1864b45ed16fdadf142ae502f00ade 100644 (file)
@@ -67,7 +67,7 @@ CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_RCAR_IIC=y
 CONFIG_DM_MMC=y
 CONFIG_RENESAS_SDHI=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_DEVICE=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
index 0ff1f2c7ea74b586e5220ccebd8d8bcc5232e543..cf992b2af80fb5d49bf2e7b5a4654d95442d372c 100644 (file)
@@ -32,7 +32,7 @@ CONFIG_DEFAULT_DEVICE_TREE="tegra20-harmony"
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_SPL_DM=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_UBI_FASTMAP=y
 CONFIG_PCI=y
 CONFIG_DM_PCI=y
index 73f2f432776f5e58c45ab6e2e76284f29cfefca2..d7787ea6ba44728da72ae5b96778f447598a24e7 100644 (file)
@@ -38,7 +38,7 @@ CONFIG_DM_GPIO=y
 CONFIG_BCM6345_GPIO=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
index cd20ecc12fcc0bb32472b2b3915229d87a7f22dc..018d8a105c7b17019652a19ad06efbb9bae6a6b4 100644 (file)
@@ -71,7 +71,7 @@ CONFIG_PCF8575_GPIO=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
 CONFIG_FSL_USDHC=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_SYS_NAND_USE_FLASH_BBT=y
 CONFIG_NAND_MXS=y
index 2112ce813be9462833a86075158076b99721d3d9..95de2f2d766490b9f7ee332a2145e517a3da8311 100644 (file)
@@ -68,7 +68,7 @@ CONFIG_MISC=y
 CONFIG_DM_MMC=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_AM654=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_MTD_DEVICE=y
 CONFIG_FLASH_CFI_DRIVER=y
index cc9935d03882b549931340f52d3d4b7c72a1375e..0c07f5c10f597e11f9184aa1f6c8ef7913caaa67 100644 (file)
@@ -29,7 +29,7 @@ CONFIG_SARADC_MESON=y
 CONFIG_DM_GPIO=y
 CONFIG_DM_MMC=y
 CONFIG_MMC_MESON_GX=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_PHY_REALTEK=y
 CONFIG_DM_ETH=y
 CONFIG_ETH_DESIGNWARE=y
index 34ef807adf239065345ca7c5e64a42b5bff0a341..93aecc4df3fb273a67e31378b678d1e184dfd7ff 100644 (file)
@@ -67,7 +67,7 @@ CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_RCAR_IIC=y
 CONFIG_DM_MMC=y
 CONFIG_RENESAS_SDHI=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_DEVICE=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
index 1be6df22e924197495cbb016dfc2987018f88399..863f279dc5cdddd22b3fe480eac94e0e95700f78 100644 (file)
@@ -69,7 +69,7 @@ CONFIG_SYS_I2C_RCAR_IIC=y
 CONFIG_DM_MMC=y
 CONFIG_SH_MMCIF=y
 CONFIG_RENESAS_SDHI=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_DEVICE=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
index 7e9f02aaa1bc1e00b6546a33cb1a5d827da5a2cb..401087d32a0d27ad742c85ad47beb070b8d0f978 100644 (file)
@@ -37,7 +37,7 @@ CONFIG_SARADC_MESON=y
 CONFIG_DM_GPIO=y
 CONFIG_DM_MMC=y
 CONFIG_MMC_MESON_GX=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_GIGADEVICE=y
 CONFIG_SPI_FLASH_SPANSION=y
index c92d50ff21d23b9263031c2fa24ca7f5e8fd1a90..1ca41f52d3720074faa1287f438994e7f626af83 100644 (file)
@@ -51,7 +51,7 @@ CONFIG_SYS_I2C_MXC_I2C1=y
 CONFIG_SYS_I2C_MXC_I2C2=y
 CONFIG_DM_MMC=y
 CONFIG_FSL_USDHC=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_MTD_DEVICE=y
 CONFIG_FLASH_CFI_DRIVER=y
index dc159942fc4c27c54e41a4d3ac25274fdcc697d8..3bc7a1576fa03a3b42a7c02e5e3f6ab9ed00d5c2 100644 (file)
@@ -49,7 +49,7 @@ CONFIG_SYS_I2C_MXC_I2C1=y
 CONFIG_SYS_I2C_MXC_I2C2=y
 CONFIG_DM_MMC=y
 CONFIG_FSL_USDHC=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_MTD_DEVICE=y
 CONFIG_FLASH_CFI_DRIVER=y
index 0bc1cc2de023206d9b02fa424803d0cf5a3181c3..45edb41876817a6568cace021f2d4d8fd9fbe98e 100644 (file)
@@ -8,3 +8,4 @@ CONFIG_BOOTDELAY=3
 CONFIG_SYS_PROMPT="RISC-V # "
 CONFIG_OF_PRIOR_STAGE=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_DM_MTD=y
index e68ff0eb294fa411c2261d358632085f879099f7..f9c20cb0b02f9a97cc39ecae7660e0db36fc920e 100644 (file)
@@ -54,7 +54,7 @@ CONFIG_DM_GPIO=y
 CONFIG_MSCC_SGPIO=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_SPI_NAND=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
index b212104484674ed32604b61e6b05453a1dd9da37..b03de0d42867b245e8698ee2a44dcffbc9585493 100644 (file)
@@ -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
index f261b4f9f60af811fad9a00c1a48e140965bcbfa..fb8ac1ab53fceeb943cc98d929316f948b4eb463 100644 (file)
@@ -45,7 +45,7 @@ CONFIG_SYS_EEPROM_PAGE_WRITE_BITS=6
 CONFIG_SYS_I2C_EEPROM_ADDR_LEN=2
 CONFIG_DM_MMC=y
 CONFIG_FSL_ESDHC_IMX=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_NAND_VF610_NFC=y
 CONFIG_NAND_VF610_NFC_DT=y
index 5332fdc2b098c0e65a4443025fe5e1e1d44cba9b..d5e0c7f463925d1c2191d34bfc2382267c4e2a2c 100644 (file)
@@ -51,7 +51,7 @@ CONFIG_ENV_OFFSET_REDUND=0x110000
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_DM=y
 CONFIG_FSL_USDHC=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_SYS_NAND_USE_FLASH_BBT=y
 CONFIG_NAND_MXS=y
index 56cba32a836b76fe9927aec73e39ebd90cf58abd..e824d4c47a344b2a5164fd0295241f6a0ea3eefd 100644 (file)
@@ -51,7 +51,7 @@ CONFIG_ENV_OFFSET_REDUND=0x110000
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_DM=y
 CONFIG_FSL_USDHC=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_NAND_MXS=y
 CONFIG_SPI_FLASH=y
index 0f2aa1f71e4572943817b551b5bacc21dcceb5a5..327719206888246a39e856db0fe50765154b3534 100644 (file)
@@ -59,7 +59,7 @@ CONFIG_DM_I2C=y
 CONFIG_MISC=y
 CONFIG_DM_MMC=y
 CONFIG_MMC_OMAP_HS=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
 CONFIG_SYS_NAND_U_BOOT_OFFS=0x80000
index f4e356e2c721c364b78c0985eef4567238cd29bf..6706b6f99b9418ba19ce02da852b8923269dc19e 100644 (file)
@@ -38,7 +38,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_DM_I2C_GPIO=y
 CONFIG_SYS_I2C_MXC=y
 CONFIG_FSL_USDHC=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_NAND_MXS=y
 CONFIG_NAND_MXS_DT=y
index d496a26369d5e701a6d343dcf643fc6e228d625e..c804cc146867cc0597384a20a49be761db281e57 100644 (file)
@@ -66,7 +66,7 @@ CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_RCAR_IIC=y
 CONFIG_DM_MMC=y
 CONFIG_RENESAS_SDHI=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_DEVICE=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
index d3f8fed58c1b5455942e790d766d3fd306d832b3..4f5ed80a2cdf033e9057954fe0fd3719f76a24c2 100644 (file)
@@ -11,3 +11,4 @@ CONFIG_CMD_NVEDIT_EFI=y
 # CONFIG_CMD_MII is not set
 CONFIG_OF_PRIOR_STAGE=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_DM_MTD=y
index 20fc8f34725c968a03a5adcd00781c58e4b19bf9..6afc84c038166eaab7a64c1423617da629b66b53 100644 (file)
@@ -12,3 +12,4 @@ CONFIG_CMD_NVEDIT_EFI=y
 # CONFIG_CMD_MII is not set
 CONFIG_OF_PRIOR_STAGE=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_DM_MTD=y
index fcaf0d5f6716c2c537225e8ef0414f754dbfd21d..000c74d5b51c45afe3047970a1b5ae2ab2cc029d 100644 (file)
@@ -11,3 +11,4 @@ CONFIG_DISPLAY_BOARDINFO=y
 # CONFIG_CMD_MII is not set
 CONFIG_OF_PRIOR_STAGE=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_DM_MTD=y
index 7cda5e5a59d7bb17b10a8652006661d9ea32f0a6..d1949ad145d00c6771c71a7806f1eec155541fce 100644 (file)
@@ -12,3 +12,4 @@ CONFIG_CMD_NVEDIT_EFI=y
 # CONFIG_CMD_MII is not set
 CONFIG_OF_PRIOR_STAGE=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_DM_MTD=y
index 33776f039094e744fa711ab48c3341e9b3e2f245..a7b0e06a5086f0b26e05cedc9f54f14c9728edf8 100644 (file)
@@ -13,3 +13,4 @@ CONFIG_CMD_NVEDIT_EFI=y
 # CONFIG_CMD_MII is not set
 CONFIG_OF_PRIOR_STAGE=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_DM_MTD=y
index 6da9dd754de59cc46f34c2a0a91d145ca751d896..34f963011cf73d0a09199fc6e81fd170011db58d 100644 (file)
@@ -12,3 +12,4 @@ CONFIG_DISPLAY_BOARDINFO=y
 # CONFIG_CMD_MII is not set
 CONFIG_OF_PRIOR_STAGE=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_DM_MTD=y
index d2d7c38271d6729334ff8061e6d3b75c9617008b..b7c320743a450a9b31041f70adf470e319d18f62 100644 (file)
@@ -21,7 +21,7 @@ CONFIG_SCSI_AHCI=y
 CONFIG_AHCI_PCI=y
 CONFIG_BLK=y
 # CONFIG_MMC is not set
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
index ed6d591f9360fcd12a532720ef8b10f88cc0689c..521c6793a314ee6a6e87797cd41e9f607a41745a 100644 (file)
@@ -22,7 +22,7 @@ CONFIG_SCSI_AHCI=y
 CONFIG_AHCI_PCI=y
 CONFIG_BLK=y
 # CONFIG_MMC is not set
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
index d0dd69d3cac014ea9494249c091e7f75b269435d..adda500e4a4ead384209da3dbc20ccc8bd4f301e 100644 (file)
@@ -46,7 +46,7 @@ CONFIG_MMC_IO_VOLTAGE=y
 CONFIG_MMC_UHS_SUPPORT=y
 CONFIG_MMC_HS200_SUPPORT=y
 CONFIG_RENESAS_SDHI=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_MTD_DEVICE=y
 CONFIG_FLASH_CFI_DRIVER=y
index 0b09286fe6c1ed00f79a2372bb2d8f952880fac8..93543cfd2ac7e77a75378409154e559ece2d038b 100644 (file)
@@ -57,7 +57,7 @@ CONFIG_I2C_EEPROM=y
 CONFIG_MICROCHIP_FLEXCOM=y
 CONFIG_DM_MMC=y
 CONFIG_GENERIC_ATMEL_MCI=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SPI_FLASH_SPANSION=y
index 325893aad9e9deb6a66f5e654c5930ba15d1482a..f442be3d3a00199d5ca135ab53169e032e07491f 100644 (file)
@@ -40,7 +40,7 @@ CONFIG_BCM6345_GPIO=y
 CONFIG_LED=y
 CONFIG_LED_BCM6358=y
 CONFIG_LED_GPIO=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
index 790da97667f8b6e339905bc006ee47070864452b..48eccd766bc1e36549d99931912087d0dbfa771f 100644 (file)
@@ -11,3 +11,4 @@ CONFIG_DISPLAY_CPUINFO=y
 CONFIG_DISPLAY_BOARDINFO=y
 CONFIG_OF_PRIOR_STAGE=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_DM_MTD=y
index 3043e17eb16af9f0adcd7e6c81dc401cd70647cc..015f2d155980746311171025fee5271779ad72d2 100644 (file)
@@ -68,7 +68,7 @@ CONFIG_SYS_I2C_RCAR_IIC=y
 CONFIG_DM_MMC=y
 CONFIG_SH_MMCIF=y
 CONFIG_RENESAS_SDHI=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_DEVICE=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
index 61ae8dc539df582720ae1216dfec43b3d682b2f1..e5739d916ec27c4d078a7aae84d32a35ef3e81da 100644 (file)
@@ -27,7 +27,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 # CONFIG_NET is not set
 CONFIG_DM_MMC=y
 CONFIG_ARM_PL180_MMCI=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
index fc335c2097935aca9475289d185efd9093180d69..0d3e9a35934b2fbe1d7e0626e98e1d4e724a263d 100644 (file)
@@ -40,7 +40,7 @@ CONFIG_NETCONSOLE=y
 CONFIG_DM_MMC=y
 # CONFIG_SPL_DM_MMC is not set
 CONFIG_ARM_PL180_MMCI=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
index dd5f7285780859d878a25e404102a85422a5d501..a59e03ca3a4b4c0193f787767d3f79020821f87c 100644 (file)
@@ -40,7 +40,7 @@ CONFIG_NETCONSOLE=y
 CONFIG_DM_MMC=y
 # CONFIG_SPL_DM_MMC is not set
 CONFIG_ARM_PL180_MMCI=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
index b900be584b64dd135ad061e3fc73b111504a5344..607c0781555cfe60cda4eb007be62d898c30beeb 100644 (file)
@@ -86,7 +86,7 @@ CONFIG_STM32_IPCC=y
 CONFIG_DM_MMC=y
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_STM32_SDMMC2=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_NAND_STM32_FMC2=y
 CONFIG_MTD_SPI_NAND=y
index a63b9e0d04640a0ac0f6e45be2d3591f1560bbf0..68a1e30d8b8f81c12f2b7098467e42961b679620 100644 (file)
@@ -73,7 +73,7 @@ CONFIG_STM32_IPCC=y
 CONFIG_DM_MMC=y
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_STM32_SDMMC2=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_NAND_STM32_FMC2=y
 CONFIG_MTD_SPI_NAND=y
index 6ef52c8fbdfbcfbdf06b46310f04f5f0f4cd7750..d80481929b6524d1c927e79178de3e5d65708480 100644 (file)
@@ -72,7 +72,7 @@ CONFIG_STM32_IPCC=y
 CONFIG_DM_MMC=y
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_STM32_SDMMC2=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_NAND_STM32_FMC2=y
 CONFIG_MTD_SPI_NAND=y
index 69a914bbda05dfc7fb2260412f791eb0738a6afa..29d6420e0468293f081d7f600e6fca172925749a 100644 (file)
@@ -66,7 +66,7 @@ CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_RCAR_IIC=y
 CONFIG_DM_MMC=y
 CONFIG_RENESAS_SDHI=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_MTD_DEVICE=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
index 2c31d22a28fe03812af93f2490a921dcd9632a81..e9cc82258e7ab11205d577ef81ed2b0b6d203482 100644 (file)
@@ -59,7 +59,7 @@ CONFIG_DM_MMC=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_MMC_SDHCI_XENON=y
-CONFIG_MTD=y
+CONFIG_DM_MTD=y
 CONFIG_SF_DEFAULT_MODE=0
 CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_MACRONIX=y
index 9fe5bc0f589b9c6994385ea28ef5c66a19512637..02bc28f4b4bf2284583225c98b5f84036fd1c0b3 100644 (file)
@@ -56,7 +56,7 @@ config DFU_SF_PART
 
 config DFU_MTD
        bool "MTD back end for DFU"
-       depends on MTD
+       depends on DM_MTD
        help
          This option enables using DFU to read and write to on any MTD device.
 
index 37f379d478036c9e1e2b3d64f68c5853ec7e2c7d..fe3127334ea16691b5cbf63bba50f0f83027c8a2 100644 (file)
@@ -3,7 +3,7 @@ menu "MTD Support"
 config MTD_PARTITIONS
        bool
 
-config MTD
+config DM_MTD
        bool "Enable Driver Model for MTD drivers"
        depends on DM
        help
@@ -34,7 +34,7 @@ config FLASH_CFI_DRIVER
 
 config CFI_FLASH
        bool "Enable Driver Model for CFI Flash driver"
-       depends on MTD
+       depends on DM_MTD
        help
          The Common Flash Interface specification was developed by Intel,
          AMD and other flash manufactures. It provides a universal method
@@ -73,7 +73,7 @@ config SYS_FLASH_CFI
 
 config ALTERA_QSPI
        bool "Altera Generic Quad SPI Controller"
-       depends on MTD
+       depends on DM_MTD
        help
          This enables access to Altera EPCQ/EPCS flash chips using the
          Altera Generic Quad SPI Controller. The controller converts SPI
@@ -82,14 +82,14 @@ config ALTERA_QSPI
 
 config FLASH_PIC32
        bool "Microchip PIC32 Flash driver"
-       depends on MACH_PIC32 && MTD
+       depends on MACH_PIC32 && DM_MTD
        help
          This enables access to Microchip PIC32 internal non-CFI flash
          chips through PIC32 Non-Volatile-Memory Controller.
 
 config RENESAS_RPC_HF
        bool "Renesas RCar Gen3 RPC Hyperflash driver"
-       depends on RCAR_GEN3 && MTD
+       depends on RCAR_GEN3 && DM_MTD
        help
          This enables access to Hyperflash memory through the Renesas
          RCar Gen3 RPC controller.
index 293079d709aa1c0501b4ff77029acb855a69b60c..88e57118ba8a6c116cf2e14aae37fe8afdf37e71 100644 (file)
@@ -6,7 +6,7 @@
 ifneq (,$(findstring y,$(CONFIG_MTD_DEVICE)$(CONFIG_CMD_NAND)$(CONFIG_CMD_ONENAND)$(CONFIG_CMD_SF)$(CONFIG_CMD_MTD)))
 obj-y += mtdcore.o mtd_uboot.o
 endif
-obj-$(CONFIG_MTD) += mtd-uclass.o
+obj-$(CONFIG_DM_MTD) += mtd-uclass.o
 obj-$(CONFIG_MTD_PARTITIONS) += mtdpart.o
 obj-$(CONFIG_MTD_CONCAT) += mtdconcat.o
 obj-$(CONFIG_ALTERA_QSPI) += altera_qspi.o
index 557422759831b1215726318f665670308628f545..7c6c9ac0bcc80b51b841b06d3687deb0ae414a68 100644 (file)
@@ -99,7 +99,7 @@ int mtd_search_alternate_name(const char *mtdname, char *altname,
        return -EINVAL;
 }
 
-#if IS_ENABLED(CONFIG_MTD)
+#if IS_ENABLED(CONFIG_DM_MTD)
 static void mtd_probe_uclass_mtd_devs(void)
 {
        struct udevice *dev;
index 26cc91ad4c0319a23dee6ffe26dd66c69d27cd22..16165f883902b3aff262073ce016755b689c9248 100644 (file)
@@ -67,7 +67,7 @@ endif
 
 config NAND_BRCMNAND
        bool "Support Broadcom NAND controller"
-       depends on OF_CONTROL && DM && MTD
+       depends on OF_CONTROL && DM && DM_MTD
        help
          Enable the driver for NAND flash on platforms using a Broadcom NAND
          controller.
@@ -173,7 +173,7 @@ if NAND_VF610_NFC
 
 config NAND_VF610_NFC_DT
         bool "Support Vybrid's vf610 NAND controller as a DT device"
-        depends on OF_CONTROL && MTD
+        depends on OF_CONTROL && DM_MTD
         help
           Enable the driver for Vybrid's vf610 NAND flash on platforms
          using device tree.
@@ -266,7 +266,7 @@ if NAND_MXS
 
 config NAND_MXS_DT
        bool "Support MXS NAND controller as a DT device"
-       depends on OF_CONTROL && MTD
+       depends on OF_CONTROL && DM_MTD
        help
          Enable the driver for MXS NAND flash on platforms using
          device tree.
index 2197cb531f3def964ead98acd1cd2403f5d39eb7..0777dfdf0a7028fd815b57bedc539e153d47caa5 100644 (file)
@@ -1,6 +1,6 @@
 menuconfig MTD_SPI_NAND
        bool "SPI NAND device Support"
-       depends on MTD && DM_SPI
+       depends on DM_MTD && DM_SPI
        select MTD_NAND_CORE
        select SPI_MEM
        help
index 70ab43519955ec8187f908a01dc67e69fd4de3b4..807800b524e9abfafabfb132f7523a9a71cd76e3 100644 (file)
@@ -44,7 +44,7 @@ typedef struct {
        uchar   sr_supported;           /* status register supported            */
        const char *name;               /* human-readable name                  */
 #endif
-#ifdef CONFIG_MTD
+#ifdef CONFIG_DM_MTD
        struct mtd_info *mtd;
 #endif
 #ifdef CONFIG_CFI_FLASH                        /* DM-specific parts */