This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: strata.h fix
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Jani Monoses <jani at iv dot ro>
- Cc: ecos-patches at sources dot redhat dot com
- Date: Sat, 12 Apr 2003 03:48:01 +0100
- Subject: Re: strata.h fix
- References: <20030404124615.27b06999.jani@iv.ro>
Jani Monoses wrote:
Hi
the strata header defines FLASHWORD for different values of flash width and number of
devices.This smae code is already found in io/flash/flash_dev.h
So include that instead.It's simpler and besides fixes the case of width=16 bit and nodevs =4
which was not checked for but devs==2 was checked twice.Besides the strata version uses plain C types
instead of cyg_XXX names.I defined INTERLEAVE to be DEVICES and flash_t to flash_data_t to not have to
modify the rest of the strata code for now.I can do that to and have the same names is all drivers to
keep confusion level lower.
It's not important, although I'd apply such a patch if you sent it.
Oh and for some reason I though we were in 2002 but a quick googling reveals that this is no longer the case.
So I modified the previous changelog entry's date.All the flash patches I sent yesterday and today have this
....inaccuracy.
Oops!
All applied. Thanks!
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine