aboutsummaryrefslogtreecommitdiff
path: root/drivers/rtc/ds1556.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD2008-10-16 15:01:15 +0200
committerWolfgang Denk2008-10-18 21:54:03 +0200
commit6d0f6bcf337c5261c08fabe12982178c2c489d76 (patch)
treeae13958ffa9c6b58c2ea97aac07a4ad2f04a350f /drivers/rtc/ds1556.c
parent71edc271816ec82cf0550dd6980be2da3cc2ad9e (diff)
rename CFG_ macros to CONFIG_SYS
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/rtc/ds1556.c')
-rw-r--r--drivers/rtc/ds1556.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/ds1556.c b/drivers/rtc/ds1556.c
index 75746261734..763d22a03b1 100644
--- a/drivers/rtc/ds1556.c
+++ b/drivers/rtc/ds1556.c
@@ -43,7 +43,7 @@ static void rtc_write( unsigned int addr, uchar val);
static uchar bin2bcd (unsigned int n);
static unsigned bcd2bin(uchar c);
-#define RTC_BASE ( CFG_NVRAM_SIZE + CFG_NVRAM_BASE_ADDR )
+#define RTC_BASE ( CONFIG_SYS_NVRAM_SIZE + CONFIG_SYS_NVRAM_BASE_ADDR )
#define RTC_YEAR ( RTC_BASE + 0xf )
#define RTC_MONTH ( RTC_BASE + 0xe )