xref: /openbmc/u-boot/include/linux/mtd/concat.h (revision 6e87ae1c)
1 /*
2  * MTD device concatenation layer definitions
3  *
4  * Copyright © 2002      Robert Kaiser <rkaiser@sysgo.de>
5  *
6  * SPDX-License-Identifier:	GPL-2.0+
7  *
8  */
9 
10 #ifndef MTD_CONCAT_H
11 #define MTD_CONCAT_H
12 
13 struct mtd_info *mtd_concat_create(
14     struct mtd_info *subdev[],  /* subdevices to concatenate */
15     int num_devs,               /* number of subdevices      */
16 #ifndef __UBOOT__
17     const char *name);          /* name for the new device   */
18 #else
19     char *name);          /* name for the new device   */
20 #endif
21 
22 void mtd_concat_destroy(struct mtd_info *mtd);
23 
24 #endif
25