X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=direct%2Fu-boot%2Ffs%2Fyaffs2%2Fyaffs_uboot_glue.h;fp=direct%2Fu-boot%2Ffs%2Fyaffs2%2Fyaffs_uboot_glue.h;h=d3ae1623238d56ee55cc99b0d8f9d4b7d19a3b33;hb=8205f5a2a78fc7e67680b42fb004f47c522e7c9d;hp=0000000000000000000000000000000000000000;hpb=34292b4ec02c8a649d2889a4d7398a34474abe45;p=yaffs2.git diff --git a/direct/u-boot/fs/yaffs2/yaffs_uboot_glue.h b/direct/u-boot/fs/yaffs2/yaffs_uboot_glue.h new file mode 100644 index 0000000..d3ae162 --- /dev/null +++ b/direct/u-boot/fs/yaffs2/yaffs_uboot_glue.h @@ -0,0 +1,24 @@ + +#ifndef __YAFFS_UBOOT_GLUE_H__ +#define __YAFFS_UBOOT_GLUE_H__ + + +int cmd_yaffs_dev_ls(void); +int cmd_yaffs_tracemask(unsigned set, unsigned mask); +int cmd_yaffs_devconfig(char *mp, int flash_dev, + int start_block, int end_block); +int cmd_yaffs_mount(char *mp); +int cmd_yaffs_umount(char *mp); +int cmd_yaffs_read_file(char *fn); +int cmd_yaffs_write_file(char *fn, char bval, int sizeOfFile); +int cmd_yaffs_ls(const char *mountpt, int longlist); +int cmd_yaffs_check(const char *fn, const char *type); +int cmd_yaffs_mwrite_file(char *fn, char *addr, int size); +int cmd_yaffs_mread_file(char *fn, char *addr); +int cmd_yaffs_mkdir(const char *dir); +int cmd_yaffs_rmdir(const char *dir); +int cmd_yaffs_rm(const char *path); +int cmd_yaffs_mv(const char *oldPath, const char *newPath); + +int yaffs_dump_dev(const char *path); +#endif