[U-Boot] [PATCH] mxc_nand: fix a problem writing more than 32MB
Scott Wood
scottwood at freescale.com
Tue Aug 2 22:12:13 CEST 2011
On Wed, Jul 06, 2011 at 07:04:41PM +0200, helmut.raiger at hale.at wrote:
> From: Helmut Raiger <helmut.raiger at hale.at>
>
> 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.
>
> Signed-off-by: Helmut Raiger <helmut.raiger at hale.at>
> ---
> drivers/mtd/nand/mxc_nand.c | 13 ++++++++++++-
> 1 files changed, 12 insertions(+), 1 deletions(-)
Applied to u-boot-nand-flash next
-Scott
More information about the U-Boot
mailing list