summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/ppcn_60x/tod/cmos.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2005-04-28 16:17:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2005-04-28 16:17:39 +0000
commit27d619b86bd3ea6a36c8d3258ac6cba06b22a6e6 (patch)
tree676f2c9228a668ad9e8cdebc4fc10866204459da /c/src/lib/libbsp/powerpc/ppcn_60x/tod/cmos.h
parent2005-04-28 Jennifer Averett <jennifer.averett@oarcorp.com> (diff)
downloadrtems-27d619b86bd3ea6a36c8d3258ac6cba06b22a6e6.tar.bz2
2005-04-28 Joel Sherrill <joel@OARcorp.com>
* acinclude.m4: Remove dmv177 and ppcn_60x. * dmv177/.cvsignore, dmv177/ChangeLog, dmv177/Makefile.am, dmv177/QUIRKS, dmv177/README, dmv177/README.net, dmv177/STATUS, dmv177/bsp_specs, dmv177/cable.doc, dmv177/configure.ac, dmv177/times, dmv177/clock/clock.c, dmv177/console/conscfg.c, dmv177/console/debugio.c, dmv177/include/.cvsignore, dmv177/include/bsp.h, dmv177/include/dmv170.h, dmv177/include/tm27.h, dmv177/scv64/scv64.c, dmv177/sonic/dmvsonic.c, dmv177/start/start.S, dmv177/startup/bspclean.c, dmv177/startup/bspstart.c, dmv177/startup/genpvec.c, dmv177/startup/linkcmds, dmv177/startup/setvec.c, dmv177/startup/vmeintr.c, dmv177/timer/timer.c, dmv177/tod/todcfg.c, ppcn_60x/.cvsignore, ppcn_60x/ChangeLog, ppcn_60x/Makefile.am, ppcn_60x/README, ppcn_60x/STATUS, ppcn_60x/bsp_specs, ppcn_60x/configure.ac, ppcn_60x/clock/clock.c, ppcn_60x/console/config.c, ppcn_60x/console/console.c, ppcn_60x/console/console.h, ppcn_60x/console/debugio.c, ppcn_60x/console/i8042.c, ppcn_60x/console/i8042_p.h, ppcn_60x/console/i8042vga.c, ppcn_60x/console/i8042vga.h, ppcn_60x/console/ns16550cfg.c, ppcn_60x/console/ns16550cfg.h, ppcn_60x/console/vga.c, ppcn_60x/console/vga_p.h, ppcn_60x/console/z85c30cfg.c, ppcn_60x/console/z85c30cfg.h, ppcn_60x/include/.cvsignore, ppcn_60x/include/bsp.h, ppcn_60x/include/extisrdrv.h, ppcn_60x/include/nvram.h, ppcn_60x/include/pci.h, ppcn_60x/include/tm27.h, ppcn_60x/network/amd79c970.c, ppcn_60x/network/amd79c970.h, ppcn_60x/nvram/ds1385.h, ppcn_60x/nvram/mk48t18.h, ppcn_60x/nvram/nvram.c, ppcn_60x/nvram/prepnvr.h, ppcn_60x/nvram/stk11c68.h, ppcn_60x/pci/pci.c, ppcn_60x/start/start.S, ppcn_60x/startup/bspclean.c, ppcn_60x/startup/bspstart.c, ppcn_60x/startup/bsptrap.S, ppcn_60x/startup/genpvec.c, ppcn_60x/startup/linkcmds, ppcn_60x/startup/rtems-ctor.cc, ppcn_60x/startup/setvec.c, ppcn_60x/startup/spurious.c, ppcn_60x/startup/swap.c, ppcn_60x/timer/timer.c, ppcn_60x/tod/cmos.h, ppcn_60x/tod/tod.c, ppcn_60x/universe/universe.c, ppcn_60x/vectors/README, ppcn_60x/vectors/align_h.S, ppcn_60x/vectors/vectors.S: Removed.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/ppcn_60x/tod/cmos.h')
-rw-r--r--c/src/lib/libbsp/powerpc/ppcn_60x/tod/cmos.h95
1 files changed, 0 insertions, 95 deletions
diff --git a/c/src/lib/libbsp/powerpc/ppcn_60x/tod/cmos.h b/c/src/lib/libbsp/powerpc/ppcn_60x/tod/cmos.h
deleted file mode 100644
index 1d544133bc..0000000000
--- a/c/src/lib/libbsp/powerpc/ppcn_60x/tod/cmos.h
+++ /dev/null
@@ -1,95 +0,0 @@
-/* Structure map for CMOS on PowerPC Reference Platform */
-/*
- * COPYRIGHT (c) 1998 by Radstone Technology
- *
- *
- * THIS FILE IS PROVIDED TO YOU, THE USER, "AS IS", WITHOUT WARRANTY OF ANY
- * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK
- * AS TO THE QUALITY AND PERFORMANCE OF ALL CODE IN THIS FILE IS WITH YOU.
- *
- * You are hereby granted permission to use, copy, modify, and distribute
- * this file, provided that this notice, plus the above copyright notice
- * and disclaimer, appears in all copies. Radstone Technology will provide
- * no support for this code.
- *
- */
-/* CMOS is the 64 bytes of RAM in the DS1385 chip */
-/* The CRC's are computed with x**16+x**12+x**5 + 1 polynomial */
-/* The clock is kept in 24 hour BCD mode and should be set to UT(GMT) */
-
-#ifndef _CMOS_
-#define _CMOS_
-
-/*
- * Address port is at 0x70, data at 0x71
- */
-#define RTC_PORT 0x70
-
-/* Define Realtime Clock register numbers. */
-
-#define RTC_SECOND 0 /* second of minute [0..59] */
-#define RTC_SECOND_ALARM 1 /* seconds to alarm */
-#define RTC_MINUTE 2 /* minute of hour [0..59] */
-#define RTC_MINUTE_ALARM 3 /* minutes to alarm */
-#define RTC_HOUR 4 /* hour of day [0..23] */
-#define RTC_HOUR_ALARM 5 /* hours to alarm */
-#define RTC_DAY_OF_WEEK 6 /* day of week [1..7] */
-#define RTC_DAY_OF_MONTH 7 /* day of month [1..31] */
-#define RTC_MONTH 8 /* month of year [1..12] */
-#define RTC_YEAR 9 /* year [00..99] */
-#define RTC_CONTROL_REGISTERA 10 /* control register A */
-#define RTC_CONTROL_REGISTERB 11 /* control register B */
-#define RTC_CONTROL_REGISTERC 12 /* control register C */
-#define RTC_CONTROL_REGISTERD 13 /* control register D */
-#define RTC_BATTERY_BACKED_UP_RAM 14 /* battery backed up RAM [0..49] */
-
-/* Define Control Register A structure. */
-#define DS1385_REGA_UIP 0x80
-
-/* Define Control Register B structure. */
-#define DS1385_REGB_SET_TIME 0x80
-#define DS1385_REGB_TIM_IRQ_EN 0x40
-#define DS1385_REGB_ALM_IRQ_EN 0x20
-#define DS1385_REGB_UPD_IRQ_EN 0x10
-#define DS1385_REGB_SQR_EN 0x08
-#define DS1385_REGB_DATA_M 0x04
-#define DS1385_REGB_HOURS_FMT 0x02
-#define DS1385_REGB_DLS_EN 0x01
-
-/* Define Control Register C structure. */
-#define DS1385_REGC_IRQ_REQ 0x08
-#define DS1385_REGC_IRQ_TIME 0x04
-#define DS1385_REGC_IRQ_ALM 0x02
-#define DS1385_REGC_IRQ_UPD 0x01
-
-/* Define Control Register D structure. */
-#define DS1385_REGD_VALID 0x80
-
-typedef struct _CMOS_MAP {
- volatile uint8_t DateAndTime[14];
-
- uint8_t SystemDependentArea1[2];
- uint8_t SystemDependentArea2[8];
- uint8_t FeatureByte0[1];
- uint8_t FeatureByte1[1]; /* 19 = PW Flag;
- attribute = write protect */
- uint8_t Century[1]; /* century byte in BCD, e.g. 0x19 currently */
- uint8_t FeatureByte3[1];
- uint8_t FeatureByte4[1];
- uint8_t FeatureByte5[1];
- uint8_t FeatureByte6[1];
- uint8_t FeatureByte7[1]; /* 1F = Alternate PW Flag;
- attribute = write protect */
- uint8_t BootPW[14]; /* Power-on password needed to boot system;
- reset value = 0x00000000000000005a5a5a5a5a5a);
- attribute = lock */
- uint8_t BootCrc[2]; /* CRC on BootPW */
- uint8_t ConfigPW[14]; /* Configuration Password needed to
- change configuration of system;
- reset value = 0x00000000000000005a5a5a5a5a5a);
- attribute = lock */
- uint8_t ConfigCrc[2]; /* CRC on ConfigPW */
-} CMOS_MAP, *PCMOS_MAP;
-
-#endif /* _CMOS_ */