Hi Wolfgang, On Thu, Jan 19, 2012 at 3:20 AM, Wolfgang Denk <w...@denx.de> wrote: > Dear Simon Glass, > > In message > <capnjgz1royguaascoqiw8poqkzvp5rim7kj6zzhlnpwubyk...@mail.gmail.com> you > wrote: >> >> Perhaps reword this slightly. U-Boot can have knowledge of a current >> adaptor, mux settings and so on, and use this internally within the >> i2c layer to optimise performance and redundant i2c traffic. But the >> pain is when the concept of a 'current adaptor' is exposed outside the >> i2c layer. > > As mentioned before, this is what we currently have as "device model" > in U-Boot - not only I2C: we have the same "current device" concept > with IDE, USB, ... > > It makes no sense trying to change it here; it would only cause even > more incompatibilities. If you want to fix that, then help working on > the new driver model. Marek is planning for this.
Yes of course, sorry for not replying earlier, but I completely agree. Heiko's patch here fits with the "current device" model. I was talking about the way I hope it will be in the future. I can help with new driver model also but I would like to get the rationalisation of code duplication (relocation, board init) to bed first. Regards, Simon > > Best regards, > > Wolfgang Denk > > -- > DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany > Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de > Good morning. This is the telephone company. Due to repairs, we're > giving you advance notice that your service will be cut off indefi- > nitely at ten o'clock. That's two minutes from now. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot