[Yaffs] when and wher does yaffs2 calculates Ecc?

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: EzioZhang
Date:  
To: yaffs
Subject: [Yaffs] when and wher does yaffs2 calculates Ecc?
Yaffs could calcuate ecc itself . I found yaffs_cal_ecc in yaffs_ecc.h and
called in yaffs_tagscompat.c,but it only calculates 512byte data ,so if I
used a 2112byte/page nand flash how to calculate ecc with yaffs?