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>
This commit is contained in:

committed by
David Woodhouse

parent
4c03bbdfed
commit
db9a321049
@@ -767,6 +767,7 @@ struct denali_nand_info {
|
||||
uint32_t fwblks; /* represent how many blocks FW used */
|
||||
uint32_t totalblks;
|
||||
uint32_t blksperchip;
|
||||
uint32_t bbtskipbytes;
|
||||
};
|
||||
|
||||
#endif /*_LLD_NAND_*/
|
||||
|
Reference in New Issue
Block a user