diff options
author | Ilya Yanok <yanok@emcraft.com> | 2008-11-13 19:49:34 +0300 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-12-09 23:39:58 +0100 |
commit | 70741004dc28946cd82c7af6789c4ddb3fc94526 (patch) | |
tree | 199ba539db02063b1409a56d81e75381650399b5 /include/sed156x.h | |
parent | 8a36d31f72411144ac0412ee7e1880e801acd754 (diff) | |
download | u-boot-imx-70741004dc28946cd82c7af6789c4ddb3fc94526.zip u-boot-imx-70741004dc28946cd82c7af6789c4ddb3fc94526.tar.gz u-boot-imx-70741004dc28946cd82c7af6789c4ddb3fc94526.tar.bz2 |
jffs2: add buffer to cache flash accesses
With this patch JFFS2 code allocates memory buffer of max_totlen size
(size of the largest node, calculated during scan time) and uses it to
store entire node. Speeds up loading. If malloc fails we use old ways
to do things.
Signed-off-by: Alexey Neyman <avn@emcraft.com>
Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Diffstat (limited to 'include/sed156x.h')
0 files changed, 0 insertions, 0 deletions