> On May 12, 2006, at 9:36 AM, Ben Warren wrote: > > > Hello, > > > > The CPU I'm using (MPC8349) has two hardware I2C interfaces, and > > I'd like to access the second one in U-boot. Implementing this > > looks easy to me, but I don't want to reinvent the wheel if it's > > already been done elsewhere. Has anyone done this? If not, I'll > > follow up with a proposal. > > Depending on what you want to do, you can cheat and just change the > pointer to the 2nd interface. If you want something more full > featured up to the command level then I think some discussion would > be required on how the commands should work for specifying which > controller to use. > > - kumar OK, just as a suggestion how about an optional suffix on all the I2C commands. Ex: iprobe.2 -- discover valid I2C interfaces on controller #2. imw.0 (or just imw) -- memory write to address on controller #0 (or the only controller in most cases). Seems like it wouldn't break anything to specify the controller this way. Marc W. Howard ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users