summaryrefslogtreecommitdiff
path: root/include/mtd.h
blob: 926ee2075e44362cebd6f8d602a11846e5aaba2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* 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_remove(struct mtd_info *mtd);
int mtd_probe_devices(void);

void board_mtdparts_default(const char **mtdids, const char **mtdparts);

#endif	/* _MTD_H_ */