diff options
author | Tien Fong Chee <tien.fong.chee@intel.com> | 2018-07-06 16:26:01 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-09-28 20:22:32 -0400 |
commit | 14dfc6482a9057472ea202d2df4133a45bc3c1bc (patch) | |
tree | 34b56c6fccaed666df1bf0fa5a245da6c40078a2 /include/ubi_uboot.h | |
parent | 10c2044062d045e27cbcda739501b96f670fb7f1 (diff) | |
download | u-boot-14dfc6482a9057472ea202d2df4133a45bc3c1bc.tar.gz |
cmd: ubifs: Factor out some checking codes into cmd_ubifs_mount()
cmd_ubifs_mount() function would be called directly instead of
involving whole command machinery for mounting ubifs in
generic firmware loader, so some checking codes need to be factored out
into cmd_ubifs_mount() without breaking original functionality design.
Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include/ubi_uboot.h')
-rw-r--r-- | include/ubi_uboot.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ubi_uboot.h b/include/ubi_uboot.h index 827dbfcd10..0770228cd8 100644 --- a/include/ubi_uboot.h +++ b/include/ubi_uboot.h @@ -75,6 +75,7 @@ extern int ubi_volume_write(char *volume, void *buf, size_t size); extern int ubi_volume_read(char *volume, char *buf, size_t size); extern struct ubi_device *ubi_devices[]; +int cmd_ubifs_mount(char *vol_name); int cmd_ubifs_umount(void); #endif |