summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-29 00:16:11 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-29 00:16:11 +0000
commit5217d5aa05fce6c34217d58abef8704afd8efc71 (patch)
tree0a1bde3289ee956df5c1edaf2411b0873a1fdc5d /c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h
parentDeleted probe routine as device specific. (diff)
downloadrtems-5217d5aa05fce6c34217d58abef8704afd8efc71.tar.bz2
Changed cast on RTC address and added base address of RTC fields as opposed
to entire RTC with NVRAM included.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h b/c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h
index bbf108d829..f9c824b16f 100644
--- a/c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h
+++ b/c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h
@@ -44,7 +44,8 @@ extern "C" {
/* Note: Move address defs to the linker files. XXX */
/* Real Time Clock Base Address */
-#define DMV170_RTC_ADDRESS (unsigned char *)0xf2c00000
+#define DMV170_RTC_BASE_ADDRESS 0xf2c00000
+#define DMV170_RTC_ADDRESS 0xf2c01ff8
/* base address of the DUART (68681) */
#define MC68681_ADDR 0xf2800000