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] |
On Wed, Aug 18, 2004 at 03:24:24PM -0700, Zhang Kevin-akz002 wrote: > Hello, > > 1. In flash_unlock_block.c under the > devs/flash/intel/strata/current/src directory, MAX_FLASH_BLOCKS is > defined to be 128. But for the 28F256L18 part (16bit width, 32MByte > size), the maximum number of blocks should be doubled. I ran into a > problem that Redboot crashed and caused reboot while doing "fis > init". I was able to trace down to this define. After making it 256, > it seems to be working fine. I made this a CDL option called CYGNUM_DEVS_FLASH_STRATA_MAX_BLOCK. You hardware dependant part can have a CDL statement like requires CYGNUM_DEVS_FLASH_STRATA_MAX_BLOCKS == 256 and the inference engine in ecosconfig will sort it out. I also commited a similar patch to the flashv2 tree for the strata v2 driver. Andrew
Attachment:
strata.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |