This is the mail archive of the ecos-discuss@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]

minor bug in flash_28fxxx.inl


hi

maybe i found a bug in flash_28fxxx.inl.

a 28F160 have a block size of 32k ( 0x8000 )
the whole flash block size is multiplied with
the number of interleaved devices.
(thats clear)

but this multiplication is done twice:

# define FLASH_BLOCK_SIZE               (0x8000*CYGNUM_FLASH_INTERLEAVE)

// Hard wired for now
flash_info.block_size = FLASH_BLOCK_SIZE * CYGNUM_FLASH_INTERLEAVE;

regards, christoph

-- 
The day Microsoft makes something that doesn't suck
will probably be the day they start making vacuum-cleaners.
                                       -- unkwown source


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