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]

Re: i2c driver


>> Hello,
>>
>> I need an I2C driver for a MPC8xx based platform. I couldn't find one
>> implemented in eCos, so, befor starting to write it, I was wandering if
>> anybody did something similar and it can be shared. If not, is there any i2c
>> driver for any platform, that I can use as start point?
> I2C drivers are mostly done ad hoc.  You can look at what I did in the 
> PowerPC/CSB281 (8245) for some ideas.
Thank you for your answer. MPC8xx (I use 860) is different from the i2c point
of view; it is more like the serial driver (it uses buffer descriptors,
parameter area, etc.). I was thinking to create this driver in the
hal/powerpc/quick folder, similar to quick_smc1, but this i2c might be more
particular, so, as you suggested, I will add it in my board specific files.

Thank you again,
Radu


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


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