[ECOS] flash driver interface questions
Jani Monoses
jani@iv.ro
Thu Jul 11 06:58:00 GMT 2002
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
More information about the Ecos-discuss
mailing list