summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-esci.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-04-03 12:51:51 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-04-03 14:07:58 +0200
commit1301468b5a6e1080ba94ab4ca763c7e8e5c223e4 (patch)
treec96fd5f7e874294c2834a0d230082ad7a79eb0bb /c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-esci.c
parentconfigure: Remove defunct configure stuff (diff)
downloadrtems-1301468b5a6e1080ba94ab4ca763c7e8e5c223e4.tar.bz2
bsps: Fix baud settings
Update #2897.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-esci.c')
-rw-r--r--c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-esci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-esci.c b/c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-esci.c
index 8ad7edbc44..9e6646fb65 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-esci.c
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-esci.c
@@ -190,7 +190,7 @@ static int mpc55xx_esci_set_attributes(int minor, const struct termios *t)
volatile struct ESCI_tag *regs = self->regs;
union ESCI_CR1_tag cr1 = { .R = regs->CR1.R };
union ESCI_CR2_tag cr2 = MPC55XX_ZERO_FLAGS;
- rtems_termios_baud_t br = rtems_termios_baud_to_number(t->c_cflag);
+ rtems_termios_baud_t br = rtems_termios_baud_to_number(t->c_ospeed);
/* Enable module */
cr2.B.MDIS = 0;