From: Tom Rini Date: Thu, 13 Aug 2015 09:17:47 -0400 Subject: [U-Boot] [U-Boot, v2, 7/8] JFFS2: Use CLEANMARKER to reduce scanning time In-Reply-To: <1435725509-12300-8-git-send-email-mark.tomlinson@alliedtelesis.co.nz> References: <1435725509-12300-8-git-send-email-mark.tomlinson@alliedtelesis.co.nz> Message-ID: <20150813131747.GO25532@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: