]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
jffs2: some fixes to summary support
authorIlya Yanok <yanok@emcraft.com>
Fri, 17 Jul 2009 11:02:42 +0000 (15:02 +0400)
committerWolfgang Denk <wd@denx.de>
Fri, 21 Aug 2009 21:29:35 +0000 (23:29 +0200)
commit8cf19b9fec92d8aa22b2fe4b4e6976743b1daa51
treecee228a9f746e97e2e4016f3ad73fbff0cac12dd
parent11906936e168d12d684bb3d2930a62693ba3d84e
jffs2: some fixes to summary support

This patch fixes some issues with JFFS2 summary support in U-Boot.
1/ Summary support made compilation configurable (as summary support
considered expiremental even in Linux).
2/ Summary code can do unaligned 16-bit and 32-bit memory accesses.
We need to get data byte by byte to exclude data aborts.
3/ Make summary scan in two passes so we can safely fall back to full
scan if we found unsupported entry in the summary.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
fs/jffs2/jffs2_1pass.c