mtd: at91: extract hw ecc initialization to one function
authorJosh Wu <josh.wu@atmel.com>
Mon, 25 Jun 2012 10:07:43 +0000 (18:07 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 6 Jul 2012 17:17:07 +0000 (18:17 +0100)
commit3dfe41a4c705223c66373968327407e11c2fb1a1
tree65ab13c0ae765811058ad60a3a4eeae826da0dc9
parent95c1b0ce2ad8bfc0092782a75e86b219eb2c5204
mtd: at91: extract hw ecc initialization to one function

This patch moves hw ecc initialization code to one function.

Signed-off-by: Hong Xu <hong.xu@atmel.com>
Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/atmel_nand.c