]> Git Repo - J-u-boot.git/blobdiff - drivers/rtc/ds3231.c
Merge patch series "Add remoteproc driver for AM62a SoC"
[J-u-boot.git] / drivers / rtc / ds3231.c
index 5b72e86768a1560528438d122ba287ba6c7c9e0a..d6267d660d0d6c7247f0ef7f2bccd51e90c00bb7 100644 (file)
@@ -14,7 +14,7 @@
  * copied from ds1337.c
  */
 
-#include <common.h>
+#include <config.h>
 #include <command.h>
 #include <dm.h>
 #include <log.h>
@@ -164,13 +164,13 @@ void rtc_enable_32khz_output(void)
 static
 uchar rtc_read (uchar reg)
 {
-       return (i2c_reg_read (CONFIG_SYS_I2C_RTC_ADDR, reg));
+       return (i2c_reg_read (CFG_SYS_I2C_RTC_ADDR, reg));
 }
 
 
 static void rtc_write (uchar reg, uchar val)
 {
-       i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val);
+       i2c_reg_write (CFG_SYS_I2C_RTC_ADDR, reg, val);
 }
 #else
 static int ds3231_rtc_get(struct udevice *dev, struct rtc_time *tmp)
This page took 0.026117 seconds and 4 git commands to generate.