X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=direct%2Fbasic-test%2Fyaffs_norif1.h;h=d245b6dda0c1818ff36c237a31f198ed8dcf8e2f;hb=9edb962fd286e9f9a6fb2fd97a2317a1c29d64b0;hp=2ab11d29830801259b105e8ef5dbb8d10af3f1cd;hpb=4a700fe570d217c2c5df87070db7c2652bc0eaaf;p=yaffs2.git diff --git a/direct/basic-test/yaffs_norif1.h b/direct/basic-test/yaffs_norif1.h index 2ab11d2..d245b6d 100644 --- a/direct/basic-test/yaffs_norif1.h +++ b/direct/basic-test/yaffs_norif1.h @@ -1,7 +1,7 @@ /* - * YAFFS: Yet another Flash File System . A NAND-flash specific file system. + * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * - * Copyright (C) 2002-2010 Aleph One Ltd. + * Copyright (C) 2002-2011 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Charles Manning @@ -17,13 +17,8 @@ #ifndef __YAFFS_NOR_IF1_H__ #define __YAFFS_NOR_IF1_H__ -#include "yaffs_guts.h" - -int ynorif1_WriteChunkToNAND(yaffs_Device *dev,int chunkInNAND,const __u8 *data, const yaffs_Spare *spare); -int ynorif1_ReadChunkFromNAND(yaffs_Device *dev,int chunkInNAND, __u8 *data, yaffs_Spare *spare); -int ynorif1_EraseBlockInNAND(yaffs_Device *dev, int blockNumber); -int ynorif1_InitialiseNAND(yaffs_Device *dev); -int ynorif1_DeinitialiseNAND(yaffs_Device *dev); +struct yaffs_dev; +void ynorif1_install_drv(struct yaffs_dev *dev); #endif