Sam, Sam Song wrote: > Hi all, > > I'd like to ask whether there is user-level utility > for I2C device registers access like lspci/setpci for > PCI device? > > I have a RTC chip DS1337 on a 8248 target. It can > work right in u-boot and linux. If no similar utility, > I will switch to change hwclock.c in busybox to make > it. Any idea? > > Thanks in advance, > > Sam
I've a hwclock.c implementation for DS1307/DS1338. I do not know how close DS1337 was but it should not be too difficult to adapt. Best regards, Tolunay -------------- next part -------------- A non-text attachment was scrubbed... Name: hwclock_ds1307.c Type: text/x-csrc Size: 6803 bytes Desc: not available Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20050929/8fb64c2c/attachment.c
