aboutsummaryrefslogtreecommitdiffstats
path: root/include/mtd/mtd-abi.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2005-05-19 12:10:26 -0400
committerThomas Gleixner <tglx@mtd.linutronix.de>2005-05-23 07:20:45 -0400
commit90e260c84f563a4ac6b47886e8188af06f4a4a46 (patch)
treea487cfe4fb96fc09d0102689cd1f78ba9dee3e67 /include/mtd/mtd-abi.h
parenta69dde91e8940b49bdc9920dd65ec02c6a51f85c (diff)
[MTD] NAND: Honour autoplacement schemes supplied by the caller
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/mtd/mtd-abi.h')
-rw-r--r--include/mtd/mtd-abi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mtd/mtd-abi.h b/include/mtd/mtd-abi.h
index cacb9842b195..428d9122940b 100644
--- a/include/mtd/mtd-abi.h
+++ b/include/mtd/mtd-abi.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * $Id: mtd-abi.h,v 1.10 2005/02/09 09:17:42 pavlov Exp $ 2 * $Id: mtd-abi.h,v 1.11 2005/05/19 16:08:58 gleixner Exp $
3 * 3 *
4 * Portions of MTD ABI definition which are shared by kernel and user space 4 * Portions of MTD ABI definition which are shared by kernel and user space
5 */ 5 */
@@ -61,6 +61,7 @@ struct mtd_oob_buf {
61#define MTD_NANDECC_PLACE 1 // Use the given placement in the structure (YAFFS1 legacy mode) 61#define MTD_NANDECC_PLACE 1 // Use the given placement in the structure (YAFFS1 legacy mode)
62#define MTD_NANDECC_AUTOPLACE 2 // Use the default placement scheme 62#define MTD_NANDECC_AUTOPLACE 2 // Use the default placement scheme
63#define MTD_NANDECC_PLACEONLY 3 // Use the given placement in the structure (Do not store ecc result on read) 63#define MTD_NANDECC_PLACEONLY 3 // Use the given placement in the structure (Do not store ecc result on read)
64#define MTD_NANDECC_AUTOPL_USR 4 // Use the given autoplacement scheme rather than using the default
64 65
65/* OTP mode selection */ 66/* OTP mode selection */
66#define MTD_OTP_OFF 0 67#define MTD_OTP_OFF 0