[rtems commit] bsp/imx: Provide a default console
Sebastian Huber
sebh at rtems.org
Tue Sep 26 12:01:55 UTC 2017
Module: rtems
Branch: master
Commit: 362e96ab8bb15512eaf108145da3f50eaad109bf
Changeset: http://git.rtems.org/rtems/commit/?id=362e96ab8bb15512eaf108145da3f50eaad109bf
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Sep 26 14:01:07 2017 +0200
bsp/imx: Provide a default console
Update #3090.
---
c/src/lib/libbsp/arm/imx/console/console-config.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 c965468..4c089a3 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)
{
More information about the vc
mailing list