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)
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

Simple merge
Simple merge