9
0
Fork 0

atmel_nand: fix pmecc timeout

the timeout is 100ms not 100ns

on sam9x5 the SoC is fast enough so we can not see it
but not on sam9n12

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2012-11-23 16:55:02 +01:00 committed by Sascha Hauer
parent c61b15ffd7
commit 51acebdcf5
1 changed files with 1 additions and 1 deletions

View File

@ -146,6 +146,6 @@
#define PMECC_LOOKUP_TABLE_SIZE_1024 0x4000
/* Time out value for reading PMECC status register */
#define PMECC_MAX_TIMEOUT_MS 100
#define PMECC_MAX_TIMEOUT_MS 100 * MSECOND
#endif