
13 Aug
2015
13 Aug
'15
3:17 p.m.
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@alliedtelesis.co.nz
Applied to u-boot/master, thanks!
--
Tom