summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/genmcf548x/console/console.c
diff options
context:
space:
mode:
authorThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2009-10-16 12:53:50 +0000
committerThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2009-10-16 12:53:50 +0000
commita9d0c6ecd8b8d87eb27fbc2050d5e0bd77e6ad8e (patch)
tree0ec97124fe2d40368085735c188694d8dcba8b60 /c/src/lib/libbsp/m68k/genmcf548x/console/console.c
parent2009-10-16 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-a9d0c6ecd8b8d87eb27fbc2050d5e0bd77e6ad8e.tar.bz2
added support for COBRA5475 board
Diffstat (limited to 'c/src/lib/libbsp/m68k/genmcf548x/console/console.c')
-rw-r--r--c/src/lib/libbsp/m68k/genmcf548x/console/console.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/m68k/genmcf548x/console/console.c b/c/src/lib/libbsp/m68k/genmcf548x/console/console.c
index 6c12079f0b..43b1a96a9f 100644
--- a/c/src/lib/libbsp/m68k/genmcf548x/console/console.c
+++ b/c/src/lib/libbsp/m68k/genmcf548x/console/console.c
@@ -111,7 +111,7 @@ struct IntUartInfoStruct IntUartInfo[MAX_UART_INFO];
static int GetBaud( int baudHandle )
{
- int baud = 9600;
+ int baud = BSP_CONSOLE_BAUD;
switch(baudHandle)
{
case B0:
@@ -291,7 +291,7 @@ static int
IntUartSetAttributes(int minor, const struct termios *t)
{
/* set default index values */
- int baud = (int)9600;
+ int baud = (int)BSP_CONSOLE_BAUD;
int databits = (int)MCF548X_PSC_MR_BC_8;
int parity = (int)MCF548X_PSC_MR_PM_NONE;
int stopbits = (int)MCF548X_PSC_MR_SB_STOP_BITS_1;