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:
parent
c61b15ffd7
commit
51acebdcf5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue