From ab2e8722df70088ddd20a4e15e38f73539c92ea0 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 28 Oct 2001 22:53:18 +0000 Subject: 2001-10-28 Alexandra Kossovsky * include/rtems/score/sh7750_regs.h: Fix definitions of SH7750_SCBRR1 and SH7750_SCBRR2 so things compile. --- c/src/lib/libcpu/sh/sh7750/ChangeLog | 5 +++++ c/src/lib/libcpu/sh/sh7750/include/rtems/score/sh7750_regs.h | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'c') diff --git a/c/src/lib/libcpu/sh/sh7750/ChangeLog b/c/src/lib/libcpu/sh/sh7750/ChangeLog index 22b3c4674f..eddd55c062 100644 --- a/c/src/lib/libcpu/sh/sh7750/ChangeLog +++ b/c/src/lib/libcpu/sh/sh7750/ChangeLog @@ -1,3 +1,8 @@ +2001-10-28 Alexandra Kossovsky + + * include/rtems/score/sh7750_regs.h: Fix definitions of + SH7750_SCBRR1 and SH7750_SCBRR2 so things compile. + 2001-10-26 Alexandra Kossovsky * include/sh/sh4uart.h, sci/sh4uart.c: Minor fixes post merge. diff --git a/c/src/lib/libcpu/sh/sh7750/include/rtems/score/sh7750_regs.h b/c/src/lib/libcpu/sh/sh7750/include/rtems/score/sh7750_regs.h index 46c4ba8cde..eccd2afdd9 100644 --- a/c/src/lib/libcpu/sh/sh7750/include/rtems/score/sh7750_regs.h +++ b/c/src/lib/libcpu/sh/sh7750/include/rtems/score/sh7750_regs.h @@ -1302,6 +1302,7 @@ #define SH7750_SCSMR_STOP_2 0x08 /* 2 stop bit */ #define SH7750_SCSMR1_MP 0x04 /* Multiprocessor Mode */ #define SH7750_SCSMR_CKS 0x03 /* Clock Select */ +#define SH7750_SCSMR_CKS_S 0 #define SH7750_SCSMR_CKS_DIV1 0x00 /* Periph clock */ #define SH7750_SCSMR_CKS_DIV4 0x01 /* Periph clock / 4 */ #define SH7750_SCSMR_CKS_DIV16 0x02 /* Periph clock / 16 */ @@ -1386,8 +1387,8 @@ /* SCI Bit Rate Register - SCBRR1(byte), SCBRR2(byte) */ #define SH7750_SCBRR_REGOFS(n) ((n) == 1 ? 0xE00004 : 0xE80004) /* offset */ #define SH7750_SCBRR(n) SH7750_P4_REG32(SH7750_SCBRR_REGOFS(n)) -#define SH7750_SCBRR1 SH7750_SCBRR(1) -#define SH7750_SCBRR2 SH7750_SCBRR(2) +#define SH7750_SCBRR1 SH7750_SCBRR_P4(1) +#define SH7750_SCBRR2 SH7750_SCBRR_P4(2) #define SH7750_SCBRR_A7(n) SH7750_A7_REG32(SH7750_SCBRR_REGOFS(n)) #define SH7750_SCBRR1_A7 SH7750_SCBRR(1) #define SH7750_SCBRR2_A7 SH7750_SCBRR(2) -- cgit v1.2.3