cmd: mtd: add 'mtd' command
authorMiquel Raynal <miquel.raynal@bootlin.com>
Sat, 29 Sep 2018 10:58:28 +0000 (12:58 +0200)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 2 Oct 2018 16:42:32 +0000 (22:12 +0530)
commit5db66b3aee6f2c057706d8715f7e5c472e82f047
tree09fcc0b96c1cabe894356030b6b794484c753aa8
parent2a74930da57f6fbe3c24509f1d481f435acd2356
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>
cmd/Kconfig
cmd/Makefile
cmd/mtd.c [new file with mode: 0644]
drivers/mtd/Makefile
drivers/mtd/mtd_uboot.c
include/mtd.h