int ops_multiplier;
-
static void yflash2_MaybePowerFail(unsigned int nand_chunk, int failPoint)
{
}
}
-
-
-
-
-static u8 localBuffer[PAGE_SIZE];
-
static char *NToName(char *buf,int n)
{
sprintf(buf,"emfile-2k-%d",n);
static int yflash2_EraseBlock(struct yaffs_dev *dev, int block_no)
{
- int i;
+ u32 i;
int h;
CheckInit();
u8 pg[PAGE_SIZE];
int syz = PAGE_SIZE;
- int pos;
memset(pg,0xff,syz);
{
write(h,pg,PAGE_SIZE);
}
- pos = lseek(h, 0,SEEK_CUR);
return YAFFS_OK;
}