This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: RedBoot: fis delete won't erase
- From: "Gary Thomas" <gary at mlbassoc dot com>
- To: "David Vrabel" <dvrabel at arcom dot com>
- Cc: ecos-patches at sources dot redhat dot com
- Date: Tue, 13 Jan 2004 08:40:43 -0700 (MST)
- Subject: Re: RedBoot: fis delete won't erase
- References: <4003CDDB.1080300@arcom.com>
David Vrabel said:
> Hi,
>
> fis delete no longer needs to erase the flash as fis free now uses the
> FIS directory to determine free space. Erasing the flash twice (once
> for fis delete and then again for fis create) is also unnecessary.
>
I'll look at this when I'm back in my office, but in reality, it
doesn't really matter to be extra thorough - the "erase" routines
are optimized to check for erased data and avoid touching the device
if the segment is already blank.