This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Intel FLASH


On Fri, 2003-09-26 at 13:09, Doyle, Patrick wrote:
> > The CFI information is supposed to be correct, so use it.  
> 
> My concern, not knowing the history of CFI, is that there could be newer
> information in the CFI description that I have for the W18 part that wasn't
> present when you wrote the original driver.  I see that bytes 0x31-0x34
> contain "Erase Block Region 2" information.  If older devices do not
> guarantee that these bytes contain zeros, then the newer driver will break
> on those devices.
> 
> Personally, I'm inclined to just assume that Intel specified that those
> bytes would be zero from the beginning, and, if my assumption proves false,
> add an #ifdef to support the older parts later, if needed.

Give it a whirl.  There are lots of systems out there with these devices
in place, so testing should not be a big problem.

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]