2018-05-07 06:58:06 +09:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2015-11-07 15:20:31 +09:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2015 Thomas Chou <thomas@wytron.com.tw>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _MTD_H_
|
|
|
|
#define _MTD_H_
|
|
|
|
|
|
|
|
#include <linux/mtd/mtd.h>
|
|
|
|
|
2018-09-29 19:58:24 +09:00
|
|
|
int mtd_probe(struct udevice *dev);
|
2018-09-29 19:58:28 +09:00
|
|
|
int mtd_probe_devices(void);
|
2018-09-29 19:58:24 +09:00
|
|
|
|
2020-01-24 21:45:56 +09:00
|
|
|
void board_mtdparts_default(const char **mtdids, const char **mtdparts);
|
|
|
|
|
2015-11-07 15:20:31 +09:00
|
|
|
#endif /* _MTD_H_ */
|