2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2009-05-12 12:29:39 +00:00
|
|
|
/*
|
|
|
|
* MTD device concatenation layer definitions
|
|
|
|
*
|
2015-10-23 13:37:47 +00:00
|
|
|
* Copyright © 2002 Robert Kaiser <rkaiser@sysgo.de>
|
|
|
|
*
|
2009-05-12 12:29:39 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MTD_CONCAT_H
|
|
|
|
#define MTD_CONCAT_H
|
|
|
|
|
|
|
|
struct mtd_info *mtd_concat_create(
|
|
|
|
struct mtd_info *subdev[], /* subdevices to concatenate */
|
|
|
|
int num_devs, /* number of subdevices */
|
2014-06-24 08:10:04 +00:00
|
|
|
#ifndef __UBOOT__
|
2009-05-12 12:29:39 +00:00
|
|
|
const char *name); /* name for the new device */
|
2014-06-24 08:10:04 +00:00
|
|
|
#else
|
|
|
|
char *name); /* name for the new device */
|
|
|
|
#endif
|
2009-05-12 12:29:39 +00:00
|
|
|
|
|
|
|
void mtd_concat_destroy(struct mtd_info *mtd);
|
|
|
|
|
|
|
|
#endif
|