From 3d3befa754fedb320f779320ac0ab11deb0a6275 Mon Sep 17 00:00:00 2001 From: wdenk Date: Sun, 14 Mar 2004 15:06:13 +0000 Subject: * Patch by Philippe Robin, 09 Mar 2004: Added ARM Integrator AP, CP and Versatile PB926EJ-S Reference Platform support. * Patch by Masami Komiya, 08 Mar 2004: Don't overwrite server IP address or boot file name when the boot server does not return values * Patch by listmember@orkun.us, 5 Mar 2004: Removed compile time restriction on CFG_I2C_SPEED for DS1338 RTC --- rtc/ds1307.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rtc') diff --git a/rtc/ds1307.c b/rtc/ds1307.c index 4b6d8acbfa..3b26a0a327 100644 --- a/rtc/ds1307.c +++ b/rtc/ds1307.c @@ -52,7 +52,7 @@ # define CFG_I2C_RTC_ADDR 0x68 #endif -#if CFG_I2C_SPEED > 100000 +#if defined(CONFIG_RTC_DS1307) && (CFG_I2C_SPEED > 100000) # error The DS1307 is specified only up to 100kHz! #endif -- cgit v1.2.1