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