blob: b0f8693386e6e3d6e00750502fed6ef297870483 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Thomas Choue51b65e2015-11-07 14:20:31 +08002/*
3 * Copyright (C) 2015 Thomas Chou <thomas@wytron.com.tw>
Thomas Choue51b65e2015-11-07 14:20:31 +08004 */
5
6#ifndef _MTD_H_
7#define _MTD_H_
8
9#include <linux/mtd/mtd.h>
10
Miquel Raynalaa168ac2018-09-29 12:58:24 +020011int mtd_probe(struct udevice *dev);
Miquel Raynal741f4c72018-09-29 12:58:28 +020012int mtd_probe_devices(void);
Miquel Raynalaa168ac2018-09-29 12:58:24 +020013
Patrick Delaunay4a10f562020-01-24 13:45:56 +010014void board_mtdparts_default(const char **mtdids, const char **mtdparts);
15
Thomas Choue51b65e2015-11-07 14:20:31 +080016#endif /* _MTD_H_ */