Some nand flashes (like spi-nand one) are registered with mtd subsystem only, thus nand command can't be used to work with such flashes. As result some functionality is missing.
This patch series implements following subcommands: * markbad -- mark block as bad (copy of 'nand markbad') * torture -- destructive test of flash blocks (copy of 'nand torture') * nandtest -- non-destructive test of nand flashes v2 changes: * add cover letter Mikhail Kshevetskiy (3): cmd: mtd: add markbad command support cmd: mtd: add torture command support cmd: mtd: add nandtest command support cmd/Kconfig | 18 +++ cmd/mtd.c | 457 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 475 insertions(+) -- 2.39.2