summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorHuang Shijie <b32955@freescale.com>2013-05-17 11:17:34 +0800
committerDavid Woodhouse <David.Woodhouse@intel.com>2013-08-30 21:34:48 +0100
commit2febcdf84b75aae627c61f0a5bf531a69299966c (patch)
treef0ef416848a231d6475bf6905c67243b251e1908 /block
parentd1048aaf6d8b467d226c8d8901017ca48f4e48e9 (diff)
mtd: gpmi: set the BCH's geometry with the ecc info
If the nand chip provides us the ECC info, we can use it firstly. The set_geometry_by_ecc_info() will use the ECC info, and calculate the parameters we need. Rename the old code to legacy_set_geometry() which will takes effect when there is no ECC info from the nand chip or we fails in the ECC info case. 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 'block')
0 files changed, 0 insertions, 0 deletions