
16 Aug
2018
16 Aug
'18
6:22 p.m.
On Thu, 16 Aug 2018 17:30:27 +0200 Miquel Raynal miquel.raynal@bootlin.com wrote:
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
[...]
+config CMD_MTD
- bool "mtd"
- depends on CMD_MTDPARTS
Shouldn't we select it instead?
- select MTD_PARTITIONS
- help
MTD commands support.