Merge branch 'driver-refactoring' into new-driver-refactoring
[yaffs2.git] / direct / u-boot / fs / yaffs2 / yaffs_uboot_glue.h
1
2 #ifndef __YAFFS_UBOOT_GLUE_H__
3 #define __YAFFS_UBOOT_GLUE_H__
4
5
6 int cmd_yaffs_dev_ls(void);
7 int cmd_yaffs_tracemask(unsigned set, unsigned mask);
8 int cmd_yaffs_devconfig(char *mp, int flash_dev,
9                                 int start_block, int end_block);
10 int cmd_yaffs_mount(char *mp);
11 int cmd_yaffs_umount(char *mp);
12 int cmd_yaffs_read_file(char *fn);
13 int cmd_yaffs_write_file(char *fn, char bval, int sizeOfFile);
14 int cmd_yaffs_ls(const char *mountpt, int longlist);
15 int cmd_yaffs_check(const char *fn, const char *type);
16 int cmd_yaffs_mwrite_file(char *fn, char *addr, int size);
17 int cmd_yaffs_mread_file(char *fn, char *addr);
18 int cmd_yaffs_mkdir(const char *dir);
19 int cmd_yaffs_rmdir(const char *dir);
20 int cmd_yaffs_rm(const char *path);
21 int cmd_yaffs_mv(const char *oldPath, const char *newPath);
22
23 int yaffs_dump_dev(const char *path);
24 #endif