|
@@ -741,7 +741,7 @@ static int fsmc_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip,
|
|
|
for (i = 0, s = 0; s < eccsteps; s++, i += eccbytes, p += eccsize) {
|
|
|
nand_read_page_op(chip, page, s * eccsize, NULL, 0);
|
|
|
chip->ecc.hwctl(mtd, NAND_ECC_READ);
|
|
|
- chip->read_buf(mtd, p, eccsize);
|
|
|
+ nand_read_data_op(chip, p, eccsize, false);
|
|
|
|
|
|
for (j = 0; j < eccbytes;) {
|
|
|
struct mtd_oob_region oobregion;
|