[ECOS] How can I initial the flashs of sst29vfxxx and intel_strata at do_flash_init() ?

Andrew Lunn andrew@lunn.ch
Mon Aug 29 12:00:00 GMT 2005


On Mon, Aug 29, 2005 at 05:46:10PM +0800, Steven_cheng wrote:
> Hi Andrew,
> 
>     I have updated my redboot package, then it is compiled OK~
> There are two different flash type in my platform, one is intel 
> CYGPKG_DEVS_FLASH_STRATA, and the other is 
> CYGPKG_DEVS_FLASH_SST_39VFXXX. 
> But I find it only CYGPKG_DEVS_FLASH_STRATA be initiated.
> And I find that CYGHWR_IO_FLASH_DEVICE = 2.
> The cyg_flashdevtab array only has strata information, how can I add
> the sst information into cyg_flashdevtab[]??

Each flash driver is split into two parts. There is a generic part and
a target specific part. You are probably missing the target specific
part. Take a look at packages/devs/flash/arm/aim711/current

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list