Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Thomas Chou | e51b65e | 2015-11-07 14:20:31 +0800 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2015 Thomas Chou <thomas@wytron.com.tw> |
Thomas Chou | e51b65e | 2015-11-07 14:20:31 +0800 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef _MTD_H_ |
| 7 | #define _MTD_H_ |
| 8 | |
| 9 | #include <linux/mtd/mtd.h> |
| 10 | |
Miquel Raynal | aa168ac | 2018-09-29 12:58:24 +0200 | [diff] [blame] | 11 | int mtd_probe(struct udevice *dev); |
Miquel Raynal | 741f4c7 | 2018-09-29 12:58:28 +0200 | [diff] [blame] | 12 | int mtd_probe_devices(void); |
Miquel Raynal | aa168ac | 2018-09-29 12:58:24 +0200 | [diff] [blame] | 13 | |
Patrick Delaunay | 4a10f56 | 2020-01-24 13:45:56 +0100 | [diff] [blame] | 14 | void board_mtdparts_default(const char **mtdids, const char **mtdparts); |
| 15 | |
Thomas Chou | e51b65e | 2015-11-07 14:20:31 +0800 | [diff] [blame] | 16 | #endif /* _MTD_H_ */ |