mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
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>
This commit is contained in:
committed by
Jagan Teki
parent
2a74930da5
commit
5db66b3aee
@@ -9,5 +9,6 @@
|
||||
#include <linux/mtd/mtd.h>
|
||||
|
||||
int mtd_probe(struct udevice *dev);
|
||||
int mtd_probe_devices(void);
|
||||
|
||||
#endif /* _MTD_H_ */
|
||||
|
Reference in New Issue
Block a user