mtd: denali: Remove set_ecc_config function
authorChuanxiao Dong <chuanxiao.dong@intel.com>
Fri, 6 Aug 2010 10:02:03 +0000 (18:02 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 6 Aug 2010 15:30:18 +0000 (16:30 +0100)
commitdb9a321049ead6424848b1040a714290d5df39d7
tree952ba7180afaf4df44f86a2606be6eb5bf96235e
parent4c03bbdfed5497c3fed502226af1ef3fe8d23d08
mtd: denali: Remove set_ecc_config function

set_ecc_config function only set ECC_CORRECTION register, so
move register setting to probe function.
Since controller only support 15bit and 8bit ecc correction,
updated nand ecc layout information.

Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/denali.c
drivers/mtd/nand/denali.h