aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mtd/nand.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mtd/nand.h')
-rw-r--r--include/linux/mtd/nand.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index dc2bf1bcf42b..bf2ce68901f5 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -31,14 +31,6 @@ extern int nand_scan (struct mtd_info *mtd, int max_chips);
31/* Free resources held by the NAND device */ 31/* Free resources held by the NAND device */
32extern void nand_release (struct mtd_info *mtd); 32extern void nand_release (struct mtd_info *mtd);
33 33
34/* Read raw data from the device without ECC */
35extern int nand_read_raw (struct mtd_info *mtd, uint8_t *buf, loff_t from,
36 size_t len, size_t ooblen);
37
38
39extern int nand_write_raw(struct mtd_info *mtd, loff_t to, size_t len,
40 size_t *retlen, const uint8_t *buf, uint8_t *oob);
41
42/* The maximum number of NAND chips in an array */ 34/* The maximum number of NAND chips in an array */
43#define NAND_MAX_CHIPS 8 35#define NAND_MAX_CHIPS 8
44 36
@@ -375,6 +367,8 @@ struct nand_chip {
375 struct nand_buffers buffers; 367 struct nand_buffers buffers;
376 struct nand_hw_control hwcontrol; 368 struct nand_hw_control hwcontrol;
377 369
370 struct mtd_oob_ops ops;
371
378 uint8_t *bbt; 372 uint8_t *bbt;
379 struct nand_bbt_descr *bbt_td; 373 struct nand_bbt_descr *bbt_td;
380 struct nand_bbt_descr *bbt_md; 374 struct nand_bbt_descr *bbt_md;