[patch v2] Add flash_eraseall from mtd-utils

Sebastian Andrzej Siewior bigeasy at linutronix.de
Wed Feb 18 13:56:12 UTC 2009


Bernhard Reutner-Fischer wrote:
> On Tue, Feb 17, 2009 at 11:03:28PM +0100, Sebastian Andrzej Siewior wrote:
>> This is the result after converting mtd-utils' flash_eraseall to BB.
> 
> Applied as r25355 and shrank by ca. 110 bytes in r25356, thanks.
Thx.
I saw two FIXME on target_endian.
The whole thing about this, is to make it switchable i.e. to choose 
between LE and BE Format. For instance you can create a BE or LE jffs2 
image with mkfs.jffs2. This tool allows you switch it while flash_eraseall 
does not. So it should probably be just fine to use bb macros and keep in 
LE only.
If you want I could form a patch later.

Sebastoan


More information about the busybox mailing list