mtd: MXC NAND support for 2KiB page size flashes
commitbd3fd62ecc99c709739cb969be76f44903a4043b
authorVladimir Barinov <vova.barinov@gmail.com>
Mon, 25 May 2009 09:06:17 +0000 (25 13:06 +0400)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Jun 2009 17:15:41 +0000 (5 18:15 +0100)
treea0dd30dac98177e35bb097c4cd6b3974b202b139
parentf36e20c01ad0104688f2eaebdf2213e749929c97
mtd: MXC NAND support for 2KiB page size flashes

- Add support for 2KiB page size flashes
- Fix page address access for large pages
- Detect oob layout at runtime
- handle pagesize_2k variable
- Fix oob16 layout: reserve location 5 of oob area since it's used for bbt

Signed-off-by: Vladimir Barinov <vova.barinov@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/mxc_nand.c