mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
mtd: bcm47xxnflash: increase NFLASH_READY_RETRIES
Recently imlemented writing support has shown that current num of retries is too low. Writing requires longer waiting than simple reading. Signed-off-by: Rafał Miłecki <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
This commit is contained in:
parent
ca2a88f56a
commit
5a40b5fb2b
1 changed files with 2 additions and 2 deletions
|
|
@ -17,8 +17,8 @@
|
|||
#include "bcm47xxnflash.h"
|
||||
|
||||
/* Broadcom uses 1'000'000 but it seems to be too many. Tests on WNDR4500 has
|
||||
* shown 164 retries as maxiumum. */
|
||||
#define NFLASH_READY_RETRIES 1000
|
||||
* shown ~1000 retries as maxiumum. */
|
||||
#define NFLASH_READY_RETRIES 10000
|
||||
|
||||
#define NFLASH_SECTOR_SIZE 512
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue