diff options
author | Uma Shankar <uma.shankar@samsung.com> | 2012-05-25 21:22:49 +0530 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-08-09 23:48:02 +0200 |
commit | ed34f34dbaf206dfe223f4bc2147d600fe1b0f58 (patch) | |
tree | 5a0f1c40bb6598e0db9d2e1b0d1b85814348ad8b /include/ext4fs.h | |
parent | a1596438a68921d2c9b1fdec70a720d38c85ca7d (diff) | |
download | u-boot-ed34f34dbaf206dfe223f4bc2147d600fe1b0f58.tar.gz |
ext4fs write supportext4
Signed-off-by: Uma Shankar <uma.shankar@samsung.com>
Signed-off-by: Manjunatha C Achar <a.manjunatha@samsung.com>
Signed-off-by: Iqbal Shareef <iqbal.ams@samsung.com>
Signed-off-by: Hakgoo Lee <goodguy.lee@samsung.com>
Diffstat (limited to 'include/ext4fs.h')
-rw-r--r-- | include/ext4fs.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/ext4fs.h b/include/ext4fs.h index 58a6a1dcfc..ab2983ceb8 100644 --- a/include/ext4fs.h +++ b/include/ext4fs.h @@ -117,6 +117,18 @@ extern block_dev_desc_t *ext4_dev_desc; extern struct ext2_data *ext4fs_root; extern struct ext2fs_node *ext4fs_file; +#if defined(CONFIG_CMD_EXT4_WRITE) +extern struct ext2_inode *g_parent_inode; +extern int gd_index; +extern int gindex; + +int ext4fs_init(void); +void ext4fs_deinit(void); +int ext4fs_filename_check(char *filename); +int ext4fs_write(const char *fname, unsigned char *buffer, + unsigned long sizebytes); +#endif + struct ext_filesystem *get_fs(void); int init_fs(block_dev_desc_t *dev_desc); void deinit_fs(block_dev_desc_t *dev_desc); |