|
@@ -187,6 +187,7 @@ static int __init cmx270_init(void)
|
|
/* 15 us command delay time */
|
|
/* 15 us command delay time */
|
|
this->chip_delay = 20;
|
|
this->chip_delay = 20;
|
|
this->ecc.mode = NAND_ECC_SOFT;
|
|
this->ecc.mode = NAND_ECC_SOFT;
|
|
|
|
+ this->ecc.algo = NAND_ECC_HAMMING;
|
|
|
|
|
|
/* read/write functions */
|
|
/* read/write functions */
|
|
this->read_byte = cmx270_read_byte;
|
|
this->read_byte = cmx270_read_byte;
|