[Yaffs] about retiring a block

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: zheng shi
Date:  
To: YAFFS
CC: Charles Manning
Subject: [Yaffs] about retiring a block
Hi,
I found it strange that there's no block erase operation before
calling yaffs_mark_bad.
But in mtd_utils/nandwrite.c, the block is erased before marking bad.

Is it the expected behavior?

Thanks!

--
Regards, Shizheng