diff options
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.h | 6 |
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 /* |