提交 ed202940 编写于 作者: H Huang Shijie 提交者: David Woodhouse

mtd: update the ABI document about the ecc step size

We add a new sys node for ecc step size. So update the ABI document about it.
Signed-off-by: NHuang Shijie <b32955@freescale.com>
Signed-off-by: NArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
[Brian: edited description, modified 'ecc_strength']
Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
上级 f720e7ce
...@@ -128,9 +128,8 @@ KernelVersion: 3.4 ...@@ -128,9 +128,8 @@ KernelVersion: 3.4
Contact: linux-mtd@lists.infradead.org Contact: linux-mtd@lists.infradead.org
Description: Description:
Maximum number of bit errors that the device is capable of Maximum number of bit errors that the device is capable of
correcting within each region covering an ecc step. This will correcting within each region covering an ECC step (see
always be a non-negative integer. Note that some devices will ecc_step_size). This will always be a non-negative integer.
have multiple ecc steps within each writesize region.
In the case of devices lacking any ECC capability, it is 0. In the case of devices lacking any ECC capability, it is 0.
...@@ -173,3 +172,15 @@ Description: ...@@ -173,3 +172,15 @@ Description:
This is generally applicable only to NAND flash devices with ECC This is generally applicable only to NAND flash devices with ECC
capability. It is ignored on devices lacking ECC capability; capability. It is ignored on devices lacking ECC capability;
i.e., devices for which ecc_strength is zero. i.e., devices for which ecc_strength is zero.
What: /sys/class/mtd/mtdX/ecc_step_size
Date: May 2013
KernelVersion: 3.10
Contact: linux-mtd@lists.infradead.org
Description:
The size of a single region covered by ECC, known as the ECC
step. Devices may have several equally sized ECC steps within
each writesize region.
It will always be a non-negative integer. In the case of
devices lacking any ECC capability, it is 0.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册