[PATCH 4/4] mtd-utils: unify flash_erase and flash_eraseall

Mike Frysinger vapier at gentoo.org
Fri Sep 24 01:36:51 EDT 2010


On Fri, Sep 24, 2010 at 00:35, Jon Povey wrote:
> linux-mtd-bounces at lists.infradead.org wrote:
>> These have overlapping functionality, and while
>> flash_eraseall supports
>> newer 64bit ioctls, flash_erase does not.  So rather than
>> graft support
>> onto flash_erase, merge the functionality of two into
>> flash_erase so we
>> only have to support one util from now on.
>>
>> A simple wrapper is provided to ease old flash_eraseall users into the
>> new combined flash_erase util.
>
>> -TARGETS = ftl_format flash_erase flash_eraseall nanddump
>> doc_loadbios \ +TARGETS = ftl_format flash_erase nanddump
>>         doc_loadbios \ ftl_check mkfs.jffs2 flash_lock flash_unlock
>>         flash_info \ flash_otp_info flash_otp_dump mtd_debug flashcp
>> nandwrite nandtest \
>>         jffs2dump \
>
> But anyway; will the flash_eraseall script still get installed by
> make install? it needs to.

it will not, but i didnt think that to be too much of a problem.
people usually dont use `make install` for their embedded system ...
they pluck out the one or two utils they actually need.
-mike



More information about the linux-mtd mailing list