diff options
author | Huang Shijie <b32955@freescale.com> | 2013-05-17 11:17:31 +0800 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2013-08-30 21:34:45 +0100 |
commit | 2dc0bdd91bb63f7d5755137177315c49637f6a96 (patch) | |
tree | 0bc0bc8948d4f7d16515d3682316d0ea8914a3ee /drivers/mtd/nand/nand_base.c | |
parent | e2985fc1d684927ce1dd5e5e6d35db8b52302685 (diff) |
mtd: add ECC info for nand_flash_dev{}
Add an instance of an anonymous struct to store the ECC info for full id
nand chips.
@ecc.strength_ds: ECC correctability from the datasheet.
@ecc.step_ds: ECC size required by the @ecc.strength_ds,
These two fields are all from the datasheet.
Also add the necessary macros to make the code simple and clean.
Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/nand_base.c')
0 files changed, 0 insertions, 0 deletions