projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Restructure tests
[yaffs2.git]
/
direct
/
ynorsim.c
diff --git
a/direct/ynorsim.c
b/direct/ynorsim.c
index 723b72b453b30f0c0d39e659782efe579d197b2e..f18eac03c3c9f524ea4ce573b3c793f64b9a824d 100644
(file)
--- a/
direct/ynorsim.c
+++ b/
direct/ynorsim.c
@@
-19,7
+19,7
@@
*/
//#define YNORSIM_BIT_CHANGES 15
*/
//#define YNORSIM_BIT_CHANGES 15
-#define YNORSIM_BIT_CHANGES
1
+#define YNORSIM_BIT_CHANGES
2
#if 0
/* Simulate 32MB of flash in 256k byte blocks.
#if 0
/* Simulate 32MB of flash in 256k byte blocks.
@@
-94,7
+94,7
@@
static void ynorsim_Ready(void)
return;
srand(random_seed);
remaining_ops = 1000000000;
return;
srand(random_seed);
remaining_ops = 1000000000;
- remaining_ops = (rand() % 10000) *
3
00 * YNORSIM_BIT_CHANGES;
+ remaining_ops = (rand() % 10000) *
40
00 * YNORSIM_BIT_CHANGES;
ynorsim_RestoreImage();
}
ynorsim_RestoreImage();
}