diff options
author | Kyungmin Park <kyungmin.park@samsung.com> | 2006-12-22 02:21:54 -0500 |
---|---|---|
committer | Artem Bityutskiy <dedekind@infradead.org> | 2007-01-10 07:35:00 -0500 |
commit | 60d84f9739a47d0ed8e19805d9056e39fba31c79 (patch) | |
tree | 8a93ba3f6de707446e191328f7190f7669d3619c /include/linux/mtd/onenand.h | |
parent | f62724873652ddb19edf7f92843e9456fe3be3ea (diff) |
[MTD] OneNAND: add subpage write support
OneNAND supports up to 4 writes at one NAND page. Add support of this feature.
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'include/linux/mtd/onenand.h')
-rw-r--r-- | include/linux/mtd/onenand.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mtd/onenand.h b/include/linux/mtd/onenand.h index 62ca0f429822..fe3500d7d4bb 100644 --- a/include/linux/mtd/onenand.h +++ b/include/linux/mtd/onenand.h | |||
@@ -88,6 +88,7 @@ struct onenand_bufferram { | |||
88 | * operation is in progress | 88 | * operation is in progress |
89 | * @state: [INTERN] the current state of the OneNAND device | 89 | * @state: [INTERN] the current state of the OneNAND device |
90 | * @page_buf: data buffer | 90 | * @page_buf: data buffer |
91 | * @subpagesize: [INTERN] holds the subpagesize | ||
91 | * @ecclayout: [REPLACEABLE] the default ecc placement scheme | 92 | * @ecclayout: [REPLACEABLE] the default ecc placement scheme |
92 | * @bbm: [REPLACEABLE] pointer to Bad Block Management | 93 | * @bbm: [REPLACEABLE] pointer to Bad Block Management |
93 | * @priv: [OPTIONAL] pointer to private chip date | 94 | * @priv: [OPTIONAL] pointer to private chip date |
@@ -128,6 +129,7 @@ struct onenand_chip { | |||
128 | onenand_state_t state; | 129 | onenand_state_t state; |
129 | unsigned char *page_buf; | 130 | unsigned char *page_buf; |
130 | 131 | ||
132 | int subpagesize; | ||
131 | struct nand_ecclayout *ecclayout; | 133 | struct nand_ecclayout *ecclayout; |
132 | 134 | ||
133 | void *bbm; | 135 | void *bbm; |