[PATCH v6 14/18] mtd: nand: denali: support hardware-assisted erased page detection

2017-06-12 Thread Masahiro Yamada
Recent versions of this IP support automatic erased page detection. If an erased page is detected on reads, the controller does not set INTR__ECC_UNCOR_ERR, but INTR__ERASED_PAGE. The detection of erased pages is based on the number of zeros in a page; if the number of zeros is less than the

[PATCH v6 14/18] mtd: nand: denali: support hardware-assisted erased page detection

2017-06-12 Thread Masahiro Yamada
Recent versions of this IP support automatic erased page detection. If an erased page is detected on reads, the controller does not set INTR__ECC_UNCOR_ERR, but INTR__ERASED_PAGE. The detection of erased pages is based on the number of zeros in a page; if the number of zeros is less than the