projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename CFG_ macros to CONFIG_SYS
[platform/kernel/u-boot.git]
/
drivers
/
rtc
/
pl031.c
diff --git
a/drivers/rtc/pl031.c
b/drivers/rtc/pl031.c
index
6c1e9bd
..
8b2b174
100644
(file)
--- a/
drivers/rtc/pl031.c
+++ b/
drivers/rtc/pl031.c
@@
-29,8
+29,8
@@
#if defined(CONFIG_CMD_DATE)
#if defined(CONFIG_CMD_DATE)
-#ifndef C
FG
_RTC_PL031_BASE
-#error C
FG
_RTC_PL031_BASE is not defined!
+#ifndef C
ONFIG_SYS
_RTC_PL031_BASE
+#error C
ONFIG_SYS
_RTC_PL031_BASE is not defined!
#endif
/*
#endif
/*
@@
-48,9
+48,9
@@
#define RTC_CR_START (1 << 0)
#define RTC_WRITE_REG(addr, val) \
#define RTC_CR_START (1 << 0)
#define RTC_WRITE_REG(addr, val) \
- (*(volatile unsigned int *)(C
FG
_RTC_PL031_BASE + (addr)) = (val))
+ (*(volatile unsigned int *)(C
ONFIG_SYS
_RTC_PL031_BASE + (addr)) = (val))
#define RTC_READ_REG(addr) \
#define RTC_READ_REG(addr) \
- (*(volatile unsigned int *)(C
FG
_RTC_PL031_BASE + (addr)))
+ (*(volatile unsigned int *)(C
ONFIG_SYS
_RTC_PL031_BASE + (addr)))
static int pl031_initted = 0;
static int pl031_initted = 0;