2009-05-12 12:29:39 +00:00
|
|
|
/*
|
|
|
|
* MTD device concatenation layer definitions
|
|
|
|
*
|
|
|
|
* (C) 2002 Robert Kaiser <rkaiser@sysgo.de>
|
|
|
|
*
|
|
|
|
* This code is GPL
|
|
|
|
*/
|
|
|
|
|
|
|
|
#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
|