projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rtc/: Remove obsolete references to CONFIG_COMMANDS
[oweals/u-boot.git]
/
rtc
/
ds1306.c
diff --git
a/rtc/ds1306.c
b/rtc/ds1306.c
index 08622fb5c31a5187b6cb7b4f6dda88548b7e8310..89e433dabd8894cddece689ebb84c0cd31e33a6d 100644
(file)
--- a/
rtc/ds1306.c
+++ b/
rtc/ds1306.c
@@
-36,7
+36,7
@@
#include <rtc.h>
#include <spi.h>
-#if defined(CONFIG_RTC_DS1306) &&
((CONFIG_COMMANDS & CFG_CMD_DATE) || defined(CONFIG_CMD_DATE)
)
+#if defined(CONFIG_RTC_DS1306) &&
defined(CONFIG_CMD_DATE
)
#define RTC_SECONDS 0x00
#define RTC_MINUTES 0x01