projects
/
yaffs2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
da59bf8
)
Add CONFIG_YAFFS_SMALL_RAM to reduce RAM footprint
author
Charles Manning
<cdhmanning@gmail.com>
Thu, 9 Jul 2020 01:28:23 +0000
(13:28 +1200)
committer
Charles Manning
<cdhmanning@gmail.com>
Thu, 9 Jul 2020 01:28:23 +0000
(13:28 +1200)
Reduce number of handles and search contexts.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
direct/yaffscfg.h
patch
|
blob
|
history
diff --git
a/direct/yaffscfg.h
b/direct/yaffscfg.h
index 90c07787b9f9914d0edd7f18d227988d2721fdb9..86ef225fabde708dd6eb4fab8a9355bea75e1625 100644
(file)
--- a/
direct/yaffscfg.h
+++ b/
direct/yaffscfg.h
@@
-24,9
+24,13
@@
#include "yportenv.h"
+#ifdef CONFIG_YAFFS_SMALL_RAM
+#define YAFFSFS_N_HANDLES 10
+#define YAFFSFS_N_DSC 2
+#else
#define YAFFSFS_N_HANDLES 100
-
#define YAFFSFS_N_DSC 20
+#endif
struct yaffsfs_DeviceConfiguration {