public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] errors in using DS1337
@ 2008-01-30 12:18 xiangguo_li at hotmail.com
  2008-01-30 14:23 ` Ben Warren
  0 siblings, 1 reply; 6+ messages in thread
From: xiangguo_li at hotmail.com @ 2008-01-30 12:18 UTC (permalink / raw)
  To: u-boot

hello,

when I choose to use DS1337, I add definitions in header file:

#define CONFIG_RTC_DS1337
#define CFG_I2C_RTC_ADDR    0x68 

but, during making process, error appears:

rtc/librtc.a(ds1337.o): in function 'rtc_read':
.../rtc/ds1337.c: 172: undefined reference to 'i2c_reg_read'
rtc/librtc.a(ds1337.o): in function 'rtc_write':
.../rtc/ds1337.c: 178: undefined reference tp 'i2c_reg_write'

how to solve this error?

thank you.

-lxg 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-01-30 15:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-30 12:18 [U-Boot-Users] errors in using DS1337 xiangguo_li at hotmail.com
2008-01-30 14:23 ` Ben Warren
2008-01-30 14:43   ` xiangguo_li at hotmail.com
2008-01-30 14:48     ` Ben Warren
2008-01-30 15:01       ` xiangguo_li at hotmail.com
2008-01-30 15:12         ` Ben Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox