summaryrefslogtreecommitdiffstats
path: root/include/mtd
diff options
context:
space:
mode:
authorJoern Engel <joern@wh.fh-wedel.de>2006-05-22 23:18:05 +0200
committerJoern Engel <joern@wh.fh-wedel.de>2006-05-22 23:18:05 +0200
commit28318776a80bc3261f9af91ef79e6e38bb9f5bec (patch)
tree36ef9144accf19db9d51019aa479807e80aeb8fd /include/mtd
parent8ca9ed5db3aea8d27989c239e8a2f79b839f1e99 (diff)
downloadop-kernel-dev-28318776a80bc3261f9af91ef79e6e38bb9f5bec.zip
op-kernel-dev-28318776a80bc3261f9af91ef79e6e38bb9f5bec.tar.gz
[MTD] Introduce writesize
At least two flashes exists that have the concept of a minimum write unit, similar to NAND pages, but no other NAND characteristics. Therefore, rename the minimum write unit to "writesize" for all flashes, including NAND. Signed-off-by: Joern Engel <joern@wh.fh-wedel.de>
Diffstat (limited to 'include/mtd')
-rw-r--r--include/mtd/mtd-abi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mtd/mtd-abi.h b/include/mtd/mtd-abi.h
index e4d61f3..520a3b4 100644
--- a/include/mtd/mtd-abi.h
+++ b/include/mtd/mtd-abi.h
@@ -63,7 +63,7 @@ struct mtd_info_user {
uint32_t flags;
uint32_t size; // Total size of the MTD
uint32_t erasesize;
- uint32_t oobblock; // Size of OOB blocks (e.g. 512)
+ uint32_t writesize;
uint32_t oobsize; // Amount of OOB data per block (e.g. 16)
uint32_t ecctype;
uint32_t eccsize;
OpenPOWER on IntegriCloud