mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-21 01:18:52 +09:00
![Heiko Schocher](/assets/img/avatar_default.png)
resync ubi subsystem with linux: commit 455c6fdbd219161bd09b1165f11699d6d73de11c Author: Linus Torvalds <torvalds@linux-foundation.org> Date: Sun Mar 30 20:40:15 2014 -0700 Linux 3.14 A nice side effect of this, is we introduce UBI Fastmap support to U-Boot. Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Tom Rini <trini@ti.com> Cc: Marek Vasut <marex@denx.de> Cc: Sergey Lapin <slapin@ossfans.org> Cc: Scott Wood <scottwood@freescale.com> Cc: Joerg Krause <jkrause@posteo.de>
24 lines
541 B
C
24 lines
541 B
C
/*
|
|
* 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 */
|
|
#ifndef __UBOOT__
|
|
const char *name); /* name for the new device */
|
|
#else
|
|
char *name); /* name for the new device */
|
|
#endif
|
|
|
|
void mtd_concat_destroy(struct mtd_info *mtd);
|
|
|
|
#endif
|