mtd: davinci: fix comment to match the code
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
committed by
David Woodhouse
parent
a41ccf5a3e
commit
eea116ed04
@@ -369,8 +369,9 @@ compare:
|
|||||||
* after setting the 4BITECC_ADD_CALC_START bit. So if you immediately
|
* after setting the 4BITECC_ADD_CALC_START bit. So if you immediately
|
||||||
* begin trying to poll for the state, you may fall right out of your
|
* begin trying to poll for the state, you may fall right out of your
|
||||||
* loop without any of the correction calculations having taken place.
|
* loop without any of the correction calculations having taken place.
|
||||||
* The recommendation from the hardware team is to wait till ECC_STATE
|
* The recommendation from the hardware team is to initially delay as
|
||||||
* reads less than 4, which means ECC HW has entered correction state.
|
* long as ECC_STATE reads less than 4. After that, ECC HW has entered
|
||||||
|
* correction state.
|
||||||
*/
|
*/
|
||||||
do {
|
do {
|
||||||
ecc_state = (davinci_nand_readl(info,
|
ecc_state = (davinci_nand_readl(info,
|
||||||
|
Reference in New Issue
Block a user