OneNAND: Additional sync with 2.6.27
authorStefan Roese <sr@denx.de>
Tue, 2 Dec 2008 10:06:47 +0000 (11:06 +0100)
committerScott Wood <scottwood@freescale.com>
Fri, 23 Jan 2009 16:32:48 +0000 (10:32 -0600)
commit1ae39862044ebb1e682234b51f94421e3f871d6a
treebc16379a4c30fcac163991fdb20b3dfbe9c48f6d
parent1714f51a2009baaecf3d4f6e3bd8c4e93a8d3f23
OneNAND: Additional sync with 2.6.27

- Add subpage write support
- Add onenand_oob_64/32 ecclayout

This has been missing and without it UBI has some incompatibilies issues
with the current (>= 2.6.27) Linux kernel version. vid_hdr_offset is
placed differently (2048 instead of 512) without this fix.

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Scott Wood <scottwood@freescale.com>
drivers/mtd/onenand/onenand_base.c
include/linux/mtd/onenand.h