diff options
author | Nicolas Pitre <nico@cam.org> | 2005-02-08 12:11:19 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-05-23 06:25:23 -0400 |
commit | f77814dd5728edaf1239d19755d2aa0d8c33d861 (patch) | |
tree | 5cf7f73aa367bf152e5fbd16b5173e18bb787dd5 /include/linux/mtd/flashchip.h | |
parent | 67d9e95c393d23c229836e28b262dc73d71da784 (diff) |
[MTD] Support for protection register support on Intel FLASH chips
This enables support for reading, writing and locking so called
"Protection Registers" present on some flash chips.
A subset of them are pre-programmed at the factory with a
unique set of values. The rest is user-programmable.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/mtd/flashchip.h')
-rw-r--r-- | include/linux/mtd/flashchip.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mtd/flashchip.h b/include/linux/mtd/flashchip.h index c66ba812bf90..e778a1ab23c4 100644 --- a/include/linux/mtd/flashchip.h +++ b/include/linux/mtd/flashchip.h | |||
@@ -6,7 +6,7 @@ | |||
6 | * | 6 | * |
7 | * (C) 2000 Red Hat. GPLd. | 7 | * (C) 2000 Red Hat. GPLd. |
8 | * | 8 | * |
9 | * $Id: flashchip.h,v 1.15 2004/11/05 22:41:06 nico Exp $ | 9 | * $Id: flashchip.h,v 1.16 2005/02/08 17:11:15 nico Exp $ |
10 | * | 10 | * |
11 | */ | 11 | */ |
12 | 12 | ||
@@ -29,6 +29,7 @@ typedef enum { | |||
29 | FL_ERASE_SUSPENDED, | 29 | FL_ERASE_SUSPENDED, |
30 | FL_WRITING, | 30 | FL_WRITING, |
31 | FL_WRITING_TO_BUFFER, | 31 | FL_WRITING_TO_BUFFER, |
32 | FL_OTP_WRITE, | ||
32 | FL_WRITE_SUSPENDING, | 33 | FL_WRITE_SUSPENDING, |
33 | FL_WRITE_SUSPENDED, | 34 | FL_WRITE_SUSPENDED, |
34 | FL_PM_SUSPENDED, | 35 | FL_PM_SUSPENDED, |