mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 13:56:30 +00:00
ff94bc40af
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>
23 lines
541 B
C
23 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
|