mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-19 08:28:51 +09:00
![Miquel Raynal](/assets/img/avatar_default.png)
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>
15 lines
253 B
C
15 lines
253 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2015 Thomas Chou <thomas@wytron.com.tw>
|
|
*/
|
|
|
|
#ifndef _MTD_H_
|
|
#define _MTD_H_
|
|
|
|
#include <linux/mtd/mtd.h>
|
|
|
|
int mtd_probe(struct udevice *dev);
|
|
int mtd_probe_devices(void);
|
|
|
|
#endif /* _MTD_H_ */
|