diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2019-10-03 19:50:04 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-03 23:04:10 -0500 |
commit | 1de770d5442769778c96bdac271590b44b2c7b78 (patch) | |
tree | b35b1b0fae01ea4af15f852dd16d8b01c76ea5ee /drivers/mtd/Makefile | |
parent | 88718be3001055fa2801a44ab10570279b3f2cb7 (diff) | |
download | u-boot-1de770d5442769778c96bdac271590b44b2c7b78.zip u-boot-1de770d5442769778c96bdac271590b44b2c7b78.tar.gz u-boot-1de770d5442769778c96bdac271590b44b2c7b78.tar.bz2 |
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 <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
[trini: Add Kconfig files]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/mtd/Makefile')
-rw-r--r-- | drivers/mtd/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/Makefile b/drivers/mtd/Makefile index 293079d..88e5711 100644 --- a/drivers/mtd/Makefile +++ b/drivers/mtd/Makefile @@ -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 |