summaryrefslogtreecommitdiff
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-12-02 11:06:47 +0100
committerScott Wood <scottwood@freescale.com>2009-01-23 10:32:48 -0600
commit1ae39862044ebb1e682234b51f94421e3f871d6a (patch)
treebc16379a4c30fcac163991fdb20b3dfbe9c48f6d /include/linux/mtd
parent1714f51a2009baaecf3d4f6e3bd8c4e93a8d3f23 (diff)
downloadu-boot-imx-1ae39862044ebb1e682234b51f94421e3f871d6a.zip
u-boot-imx-1ae39862044ebb1e682234b51f94421e3f871d6a.tar.gz
u-boot-imx-1ae39862044ebb1e682234b51f94421e3f871d6a.tar.bz2
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>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/onenand.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/onenand.h b/include/linux/mtd/onenand.h
index 7547e96..2597e34 100644
--- a/include/linux/mtd/onenand.h
+++ b/include/linux/mtd/onenand.h
@@ -107,6 +107,7 @@ struct onenand_chip {
unsigned char *oob_buf;
struct nand_oobinfo *autooob;
+ int subpagesize;
struct nand_ecclayout *ecclayout;
void *bbm;