From: Scott Wood Date: Wed, 20 Jul 2011 12:53:41 -0500 Subject: [U-Boot] [PATCH] mxc_nand: fix a problem writing more than 32MB In-Reply-To: <4E267BC4.8040608@hale.at> References: <1309971881-3797-1-git-send-email-helmut.raiger@hale.at> <4E267BC4.8040608@hale.at> Message-ID: <20110720125341.6cb2d543@schlenkerla.am.freescale.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, 20 Jul 2011 08:55:00 +0200 Helmut Raiger wrote: > On 07/06/2011 07:04 PM, helmut.raiger at hale.at wrote: > > From: Helmut Raiger > > > > When writing 0x4000 to the unlockend_blkaddr register, large writes to > > a 2k page NAND sometimes fail. The current kernel driver writes 0xFFFF > > to this register for V2 of the nand controller. > > > > However on an i.MX31 this also fixes writes larger than 32MB. > > The datasheet is very unspecific, but (0x4000=16384)*2000 > > roughly fits the limits we're encountering with NAND writes. > > This problem might be NAND chip specific. > Any comments? I'll apply it (with a minor formatting fix), if nobody has any more specific information about this register. -Scott