summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-11-27 14:07:09 +0100
committerStefan Roese <sr@denx.de>2008-12-09 10:07:36 +0100
commit2ee951ba2ac9874d2a93d52e7a187d3184be937e (patch)
treed377165f9fc4d4bd1ac89ff00253681f269c0100 /include
parent9def12cae33d2d3ea2dd56b197fd3dfb3ad60bf4 (diff)
downloadu-boot-imx-2ee951ba2ac9874d2a93d52e7a187d3184be937e.zip
u-boot-imx-2ee951ba2ac9874d2a93d52e7a187d3184be937e.tar.gz
u-boot-imx-2ee951ba2ac9874d2a93d52e7a187d3184be937e.tar.bz2
UBI: Enable re-initializing of the "ubi part" command
With this patch now, the user can call "ubi part" multiple times to re-connect the UBI device to another MTD partition. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/ubi_uboot.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ubi_uboot.h b/include/ubi_uboot.h
index 295f2c0..095dfc1 100644
--- a/include/ubi_uboot.h
+++ b/include/ubi_uboot.h
@@ -211,6 +211,7 @@ static inline long IS_ERR(const void *ptr)
/* functions */
extern int ubi_mtd_param_parse(const char *val, struct kernel_param *kp);
extern int ubi_init(void);
+extern void ubi_exit(void);
extern struct ubi_device *ubi_devices[];