X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=direct%2Fyaffs_flashif.c;h=b7ee482d7ee49fcbdada56ea797961a71523e618;hb=70c6bf2ff57c8a2fb778accdd5b4227abf273674;hp=73c07c8a1df0747f3297507b85e41a637ef781dd;hpb=2e51ed27a28a076ee9eb870ba8c0eb09b8114b01;p=yaffs2.git diff --git a/direct/yaffs_flashif.c b/direct/yaffs_flashif.c index 73c07c8..b7ee482 100644 --- a/direct/yaffs_flashif.c +++ b/direct/yaffs_flashif.c @@ -1,22 +1,18 @@ /* - * YAFFS: Yet another FFS. A NAND-flash specific file system. - * yaffs_ramdisk.c: yaffs ram disk component + * YAFFS: Yet Another Flash File System. A NAND-flash specific file system. * - * Copyright (C) 2002 Aleph One Ltd. + * Copyright (C) 2002-2010 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 General Public License version 2 as * published by the Free Software Foundation. - * */ -// This provides a rma disk under yaffs. -// NB this is not intended for NAND emulation. -// Use this with dev->useNANDECC enabled, then ECC overheads are not required. -const char *yaffs_flashif_c_version = "$Id: yaffs_flashif.c,v 1.1 2004-11-03 08:29:28 charles Exp $"; +const char *yaffs_flashif_c_version = "$Id: yaffs_flashif.c,v 1.3 2007-02-14 01:09:06 wookey Exp $"; #include "yportenv.h" @@ -164,7 +160,7 @@ int yflash_ReadChunkWithTagsFromNAND(yaffs_Device *dev,int chunkInNAND, __u8 *da { yaffs_PackedTags pt; memcpy(&pt,&ramdisk.block[blk]->page[pg].data[512],sizeof(yaffs_PackedTags)); - yaffs_UnpackTags(tags,&pt); + yaffs_unpack_tags(tags,&pt); } return YAFFS_OK;