diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-07-05 11:01:21 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-07-05 11:01:21 +0000 |
commit | bc2ebb46e25f6b34f16a06baa382512ceffc8407 (patch) | |
tree | 7247bf416b648b721d2ff1e9e5bd7a1a4713749a /c | |
parent | New file added in the process of converting the console driver to (diff) | |
download | rtems-bc2ebb46e25f6b34f16a06baa382512ceffc8407.tar.bz2 |
Added some address constants for the SCC and DUART to make it easier
to fill in the configuration table.
Diffstat (limited to 'c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h b/c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h index 42ee785623..9b8824d690 100644 --- a/c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h +++ b/c/src/lib/libbsp/powerpc/dmv177/include/dmv170.h @@ -46,11 +46,18 @@ extern "C" { /* Real Time Clock Base Address */ #define DMV170_RTC_ADDRESS (unsigned char *)0xf2c00000 -/* base address of the DUART(68681) */ -#define DUART_ADDR 0xf2800000 +/* base address of the DUART (68681) */ +#define MC68681_ADDR 0xf2800000 +#define MC68681_PORT1_ADDR 0xf2800000 +#define MC68681_PORT2_ADDR 0xf2800040 /* base address for the SCC (85C30) */ -#define SCC_ADDR 0xfb000000 +#define Z85C30_ADDR 0xfb000000 +#define Z85C30_CTRL_A 0xfb000000 +#define Z85C30_DATA_A 0xfb000000 +#define Z85C30_CTRL_B 0xfb000000 +#define Z85C30_DATA_B 0xfb000000 +#define Z85C30_CLOCK 0 #define DMV170_LOCAL_CONTROL_STATUS_REG 0xf2400000 #define DMV170_TIMER0_COUNT_INTERVAL_REG 0xf2400008 |