X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=direct%2Ftest-framework%2Fyaffs_nand_drv.h;fp=direct%2Ftest-framework%2Fyaffs_nand_drv.h;h=3e93644bc8f148f2012933ea535fb13bd6f58efe;hb=fd65eb6c02fba80b81f6e6f327ebb73250cbd9f5;hp=0000000000000000000000000000000000000000;hpb=b813666977c08c925a4b62cee860470e7f4bc302;p=yaffs2.git diff --git a/direct/test-framework/yaffs_nand_drv.h b/direct/test-framework/yaffs_nand_drv.h new file mode 100644 index 0000000..3e93644 --- /dev/null +++ b/direct/test-framework/yaffs_nand_drv.h @@ -0,0 +1,29 @@ +/* + * YAFFS: Yet another Flash File System . A NAND-flash specific file system. + * + * Copyright (C) 2002-2011 Aleph One Ltd. + * for Toby Churchill Ltd and Brightstar Engineering + * + * Created by Charles Manning + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 2.1 as + * published by the Free Software Foundation. + * + * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. + */ + +#ifndef __YAFFS_NAND_DRV_H__ +#define __YAFFS_NAND_DRV_H__ + +struct nand_store; + +struct yaffs_dev * + yaffs_nand_install_drv(const char *name, + struct nand_store *ns); + +struct yaffs_dev *yaffs_nandsim_install_drv(const char *name, + const char *file_name, + int n_blocks); + +#endif