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]
Other format: [Raw text]

flash driver interface questions


I see that in low level flash drivers flash_erase_block has one parameter.
Exceptions are the Intel StrataFlash and the synth target flash which have 2 parameters.
The upper layer io/flash/../flash.c calls this with 2 arguments.

The same is true for flash_program_buf: strata and synth have 5 arguments while the rest
of the drivers have 3.The upper layer calls this low level fn with 5 arguments.

Is one interface preferable over the other?Which is newest?
Thanks
Jani 

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


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