summaryrefslogtreecommitdiff
path: root/include/jffs2
diff options
context:
space:
mode:
authorIlya Yanok <yanok@emcraft.com>2008-11-13 19:49:34 +0300
committerWolfgang Denk <wd@denx.de>2008-12-09 23:39:58 +0100
commit70741004dc28946cd82c7af6789c4ddb3fc94526 (patch)
tree199ba539db02063b1409a56d81e75381650399b5 /include/jffs2
parent8a36d31f72411144ac0412ee7e1880e801acd754 (diff)
downloadu-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/jffs2')
0 files changed, 0 insertions, 0 deletions