Re: [PATCH v2] mtd: rawnand: Add Macronix NAND read retry support

2019-05-24 Thread masonccyang
Hi Miquel, > > > > > > > + > > > > + ret = nand_get_features(chip, feature_addr, feature); > > > > + if (ret || feature[0] != mode) > > > > + pr_err("Failed to verify read retry moded:%d(%d)\n", > > > > +mode, feature[0]); > > > > > > if ret == 0 but

Re: [PATCH v2] mtd: rawnand: Add Macronix NAND read retry support

2019-05-21 Thread Miquel Raynal
Hi masonccy...@mxic.com.tw, masonccy...@mxic.com.tw wrote on Tue, 21 May 2019 10:42:06 +0800: > Hi Miquel, > > > > Add support for Macronix NAND read retry. > > > > > > Macronix NANDs support specific read operation for data recovery, > > > which can be enabled/disabled with a

Re: [PATCH v2] mtd: rawnand: Add Macronix NAND read retry support

2019-05-20 Thread masonccyang
Hi Miquel, > > Add support for Macronix NAND read retry. > > > > Macronix NANDs support specific read operation for data recovery, > > which can be enabled/disabled with a SET/GET_FEATURE. > > Driver checks byte 167 of Vendor Blocks in ONFI parameter page table > > to see if this

Re: [PATCH v2] mtd: rawnand: Add Macronix NAND read retry support

2019-05-20 Thread Miquel Raynal
Hi Mason, Mason Yang wrote on Fri, 17 May 2019 14:53:21 +0800: > Add support for Macronix NAND read retry. > > Macronix NANDs support specific read operation for data recovery, > which can be enabled/disabled with a SET/GET_FEATURE. > Driver checks byte 167 of Vendor Blocks in ONFI parameter

[PATCH v2] mtd: rawnand: Add Macronix NAND read retry support

2019-05-17 Thread Mason Yang
Add support for Macronix NAND read retry. Macronix NANDs support specific read operation for data recovery, which can be enabled/disabled with a SET/GET_FEATURE. Driver checks byte 167 of Vendor Blocks in ONFI parameter page table to see if this high-reliability function is supported.