Bug in nand_default_block_markbad in nand_base.c?

Bruce_Leonard at selinc.com Bruce_Leonard at selinc.com
Wed Jun 18 14:02:29 EDT 2008


I'm not sure but I may have found a problem in nand_default_block_markbad. 
 First thing the function does is update the RAM BBT if it exists, then it 
checks to see if there's a flash BBT.  If there is it updates the flash 
BBT and returns otherwise it marks the block bad in the flash and returns. 
 Shouldn't it ALWAYS mark the block bad regardless of if there's a flash 
BBT?

Bruce



More information about the linux-mtd mailing list