summaryrefslogtreecommitdiffstats
path: root/uClinux-2.4.20-uc1/include/asm-armnommu/mc146818rtc.h
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2011-04-12 20:55:03 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2011-04-12 20:55:03 (GMT)
commit81dab211200deb1f6b665810ab0e430181cf7bfd (patch)
tree1bc72e789dda7952551b58c5b4684456b692b602 /uClinux-2.4.20-uc1/include/asm-armnommu/mc146818rtc.h
parent53d491d04770dac7e402b20340561ccb399981c9 (diff)
downloadopenipcam-81dab211200deb1f6b665810ab0e430181cf7bfd.zip
openipcam-81dab211200deb1f6b665810ab0e430181cf7bfd.tar.gz
openipcam-81dab211200deb1f6b665810ab0e430181cf7bfd.tar.bz2
Architecture specific stuff, basically, without drivers.
Diffstat (limited to 'uClinux-2.4.20-uc1/include/asm-armnommu/mc146818rtc.h')
-rw-r--r--uClinux-2.4.20-uc1/include/asm-armnommu/mc146818rtc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/uClinux-2.4.20-uc1/include/asm-armnommu/mc146818rtc.h b/uClinux-2.4.20-uc1/include/asm-armnommu/mc146818rtc.h
index 7b81e0c..697dfa3 100644
--- a/uClinux-2.4.20-uc1/include/asm-armnommu/mc146818rtc.h
+++ b/uClinux-2.4.20-uc1/include/asm-armnommu/mc146818rtc.h
@@ -7,9 +7,11 @@
#include <asm/arch/irqs.h>
#include <asm/io.h>
+#include <linux/w83977.h>
+
#ifndef RTC_PORT
-#define RTC_PORT(x) (0x70 + (x))
-#define RTC_ALWAYS_BCD 1 /* RTC operates in binary mode */
+#define RTC_PORT(x) (W83977AF_BASE + 0x70 + (x))
+#define RTC_ALWAYS_BCD 0 /* RTC operates in binary mode */
#endif
/*