aboutsummaryrefslogtreecommitdiffstats
path: root/include/mtd/mtd-abi.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-06-14 16:39:48 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2006-06-14 16:39:48 -0400
commit21c8db9eff95260e543535dfc6f27164c4c0c0ff (patch)
tree68dd7562b241b5cc95e5e45c8fa555fbbe26875f /include/mtd/mtd-abi.h
parent783ed81ff39d3f938a6b2efd09fbad96e41e5c1f (diff)
[MTD] Restore MTD_ROM and MTD_RAM types
Let's not attempt the abolition of mtd->type until/unless it's properly thought through. And certainly, let's not do it by halves. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
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 7ccadb1eaf7d..ee2afbaefe1b 100644
--- a/include/mtd/mtd-abi.h
+++ b/include/mtd/mtd-abi.h
@@ -24,10 +24,11 @@ struct mtd_oob_buf {
24}; 24};
25 25
26#define MTD_ABSENT 0 26#define MTD_ABSENT 0
27#define MTD_RAM 1
28#define MTD_ROM 2
27#define MTD_NORFLASH 3 29#define MTD_NORFLASH 3
28#define MTD_NANDFLASH 4 30#define MTD_NANDFLASH 4
29#define MTD_DATAFLASH 6 31#define MTD_DATAFLASH 6
30#define MTD_GENERIC_TYPE 7
31 32
32#define MTD_WRITEABLE 0x400 /* Device is writeable */ 33#define MTD_WRITEABLE 0x400 /* Device is writeable */
33#define MTD_BIT_WRITEABLE 0x800 /* Single bits can be flipped */ 34#define MTD_BIT_WRITEABLE 0x800 /* Single bits can be flipped */