summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-26 14:01:07 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-26 14:01:40 +0200
commit362e96ab8bb15512eaf108145da3f50eaad109bf (patch)
tree3c66afa3488e2f6fd01033d1d8a3b869ff024967
parentbsp/imx: Add register headers (diff)
downloadrtems-362e96ab8bb15512eaf108145da3f50eaad109bf.tar.bz2
bsp/imx: Provide a default console
Update #3090.
-rw-r--r--c/src/lib/libbsp/arm/imx/console/console-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/arm/imx/console/console-config.c b/c/src/lib/libbsp/arm/imx/console/console-config.c
index c9654685ab..4c089a39f8 100644
--- a/c/src/lib/libbsp/arm/imx/console/console-config.c
+++ b/c/src/lib/libbsp/arm/imx/console/console-config.c
@@ -36,7 +36,7 @@ typedef struct {
static imx_uart_context imx_uart_instances[7];
-static imx_uart_context *imx_uart_console;
+static imx_uart_context *imx_uart_console = &imx_uart_instances[0];
static volatile imx_uart *imx_uart_get_regs(rtems_termios_device_context *base)
{