[U-Boot] [U-Boot, v2, 7/8] JFFS2: Use CLEANMARKER to reduce scanning time

Tom Rini trini at konsulko.com
Thu Aug 13 15:17:47 CEST 2015


On Wed, Jul 01, 2015 at 04:38:28PM +1200, Mark Tomlinson wrote:

> If a sector has a CLEANMARKER at the beginning, it indicates that the
> entire sector has been erased. Therefore, if this is found, we can skip the
> entire block. This was not being done before this patch.
> 
> The code now does the same as the kernel does when encountering a
> CLEANMARKER. It still checks that the next few words are FFFFFFFF, and if
> so, the block is assumed to be empty, and so is skipped.
> 
> Signed-off-by: Mark Tomlinson <mark.tomlinson at alliedtelesis.co.nz>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150813/30437da2/attachment.sig>


More information about the U-Boot mailing list