[PATCH v3 10/20] mtd: nand: qcom: erased codeword detection configuration

2017-08-05 Thread Abhishek Sahu
The NAND controller returns ECC failure during read of completely erased codeword. The NAND controller has hardware functionality to detect erased codeword in case of BCH ECC algorithm. The NAND_ERASED_CW_DETECT_CFG register controls the erased codeword/page detection controller. This register

[PATCH v3 10/20] mtd: nand: qcom: erased codeword detection configuration

2017-08-05 Thread Abhishek Sahu
The NAND controller returns ECC failure during read of completely erased codeword. The NAND controller has hardware functionality to detect erased codeword in case of BCH ECC algorithm. The NAND_ERASED_CW_DETECT_CFG register controls the erased codeword/page detection controller. This register