This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: intel J flash problem
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: "Ka Chun, Cheng" <kccheng at biblecrawler dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 13 Jun 2003 05:06:52 +0100
- Subject: Re: [ECOS] intel J flash problem
- References: <005101c330bd$0ef6bfb0$0180a8c0@mobilevil>
Ka Chun, Cheng wrote:
> hello,
> I'm not too sure about the CYGNUM_FLASH_BASE_MASK parameter in strata
> flash support package.
> what value should it be, if my flash is 16M in size, and starting at 0x1000
> 0000? what's the defination of this mask...
If you look in, say,
devs/flash/intel/28fxxx/current/include/flash_28fxxx_parts.inl you'll see
that the base_mask there is very consistently defined.
The definition would be: the mask you need to AND with an address to get
the device base.
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
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss