summaryrefslogtreecommitdiff
path: root/include/ext4fs.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-26 09:53:33 +0000
committerTom Rini <trini@ti.com>2013-03-04 14:19:56 -0500
commite6d5241534486effa116bf685f7707041492ec7b (patch)
treedc41035f0255983ce66fffb147ffc69a6aaeaae4 /include/ext4fs.h
parent117e050727d1f76bfc465f23eb3aa10f9f15cc1b (diff)
downloadu-boot-e6d5241534486effa116bf685f7707041492ec7b.tar.gz
fs: Move ls and read methods into ext4, fat
It doesn't make a lot of sense to have these methods in fs.c. They are filesystem-specific, not generic code. Add each to the relevant filesystem and remove the associated #ifdefs in fs.c. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include/ext4fs.h')
-rw-r--r--include/ext4fs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ext4fs.h b/include/ext4fs.h
index 3b59d15aab..025a2e89c2 100644
--- a/include/ext4fs.h
+++ b/include/ext4fs.h
@@ -138,4 +138,7 @@ void ext4fs_free_node(struct ext2fs_node *node, struct ext2fs_node *currroot);
int ext4fs_devread(int sector, int byte_offset, int byte_len, char *buf);
void ext4fs_set_blk_dev(block_dev_desc_t *rbdd, disk_partition_t *info);
long int read_allocated_block(struct ext2_inode *inode, int fileblock);
+int ext4fs_probe(block_dev_desc_t *fs_dev_desc,
+ disk_partition_t *fs_partition);
+int ext4_read_file(const char *filename, void *buf, int offset, int len);
#endif