[U-Boot-Users] Compile error: # error The DS1307 is specified only up to 100kHz!

listmember at orkun.us listmember at orkun.us
Wed Mar 3 20:53:15 CET 2004


rtc/ds1307.c thas the following code fragment.

#if CFG_I2C_SPEED > 100000
# error The DS1307 is specified only up to 100kHz!
#endif

Although, the datasheet says the part is 100kHz only, newer parts operates
at 400kHz as well. I would like to eliminate this section of code (or at
least change the #error to #warning).

Leave the decision to use this part above 100kHz (and pros and cons) to
the board designer!

I will send a patch for this... Any comments?

Best regards,
Tolunay






More information about the U-Boot mailing list