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>
Showing
- cmd/Kconfig 8 additions, 2 deletionscmd/Kconfig
- cmd/Makefile 1 addition, 0 deletionscmd/Makefile
- cmd/mtd.c 473 additions, 0 deletionscmd/mtd.c
- drivers/mtd/Makefile 1 addition, 1 deletiondrivers/mtd/Makefile
- drivers/mtd/mtd_uboot.c 160 additions, 1 deletiondrivers/mtd/mtd_uboot.c
- include/mtd.h 1 addition, 0 deletionsinclude/mtd.h
Loading
Please register or sign in to comment