This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
flash driver interface questions
- From: Jani Monoses <jani at iv dot ro>
- To: ecos-discuss at sources dot redhat dot com
- Date: Thu, 11 Jul 2002 16:56:29 +0000
- Subject: [ECOS] 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