[PATCH] MTD: NAND: fsl_elbc_nand: implement support for flash-based BBT

Scott Wood scottwood at freescale.com
Fri Jun 27 12:29:36 EDT 2008


Anton Vorontsov wrote:
> On Fri, Jun 27, 2008 at 10:30:34AM -0500, Scott Wood wrote:
>> Anton Vorontsov wrote:
>>> Just looked into x16 LP NAND spec, and it says that block should be
>>> considered as bad when the first _Word_ isn't 0xff. So we indeed should
>>> not ignore the second byte. Ouch.
>> The FCM doesn't support 16-bit devices.
> 
> And will never support? 

It's a hardware limitation in current chips (see the manual description 
of BRn[PS]), though upon further looking it seems that it may be 
supported in the future.

> Then maybe, in addition, we could apply the first
> patch that you've acked so we'll unbreak NANDs for pour souls that tried
> to reflash the JFFS2 into NAND, so that they'll will not have to
> "nand scrub" their NANDs?

OK -- we can limit it to 8-bit chips once 16-bit support is added to the 
driver.

-Scott



More information about the linux-mtd mailing list