diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-09-29 12:58:28 +0200 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2018-10-02 22:12:32 +0530 |
commit | 5db66b3aee6f2c057706d8715f7e5c472e82f047 (patch) | |
tree | 09fcc0b96c1cabe894356030b6b794484c753aa8 /drivers/mtd/Makefile | |
parent | 2a74930da57f6fbe3c24509f1d481f435acd2356 (diff) | |
download | u-boot-5db66b3aee6f2c057706d8715f7e5c472e82f047.zip u-boot-5db66b3aee6f2c057706d8715f7e5c472e82f047.tar.gz u-boot-5db66b3aee6f2c057706d8715f7e5c472e82f047.tar.bz2 |
cmd: mtd: add 'mtd' command
There should not be a 'nand' command, a 'sf' command and certainly not
a new 'spi-nand' command. Write a 'mtd' command instead to manage all
MTD devices/partitions at once. This should be the preferred way to
access any MTD device.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Jagan Teki <jagan@openedev.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.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 cdf5152..22ceda9 100644 --- a/drivers/mtd/Makefile +++ b/drivers/mtd/Makefile @@ -3,7 +3,7 @@ # (C) Copyright 2000-2007 # Wolfgang Denk, DENX Software Engineering, wd@denx.de. -ifneq (,$(findstring y,$(CONFIG_MTD_DEVICE)$(CONFIG_CMD_NAND)$(CONFIG_CMD_ONENAND)$(CONFIG_CMD_SF))) +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 |