]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mtd: mxc_nand: fix 2KiB pagesize NAND on i.MX27
authorEric Benard <ebenard@eukrea.com>
Mon, 29 Jun 2009 11:58:01 +0000 (13:58 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 19 Sep 2009 20:11:51 +0000 (13:11 -0700)
commit71b7d0d90d536ae4e70929cc59a1a9f6ba457c6c
treebd2b653811d1971f8cdd00daab2f1a1beb58488c
parent64da392ab08a88ad83f4c3f60283711ee090c9ef
mtd: mxc_nand: fix 2KiB pagesize NAND on i.MX27

This patch allows i.MX27 to support 2KiB pagesize NAND flash.
We are using a 1.8V NAND flash which datasheet (unfortunately only
available under NDA) says :
Page size: x8: 2,112 bytes (2,048 + 64 bytes).
Without this patch, all sectors are marked as bad eraseblock.

Signed-off-by: Eric Benard <ebenard@eukrea.com>
Acked-by : Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/mxc_nand.c