diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-09-29 12:58:28 +0200 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2018-10-02 22:12:32 +0530 |
commit | 5db66b3aee6f2c057706d8715f7e5c472e82f047 (patch) | |
tree | 09fcc0b96c1cabe894356030b6b794484c753aa8 /include/mtd.h | |
parent | 2a74930da57f6fbe3c24509f1d481f435acd2356 (diff) | |
download | u-boot-5db66b3aee6f2c057706d8715f7e5c472e82f047.tar.gz |
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>
Diffstat (limited to 'include/mtd.h')
-rw-r--r-- | include/mtd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mtd.h b/include/mtd.h index 75aca262d4..65fcd3c700 100644 --- a/include/mtd.h +++ b/include/mtd.h @@ -9,5 +9,6 @@ #include <linux/mtd/mtd.h> int mtd_probe(struct udevice *dev); +int mtd_probe_devices(void); #endif /* _MTD_H_ */ |