summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2016-01-12 14:53:10 -0800
committerStefan Agner <stefan.agner@toradex.com>2016-01-12 14:53:10 -0800
commit3bcd3ceafee94a5e4b66f120e36f6c5aaf4a07ba (patch)
treea25437cdb7eafc56dedd21c4757afa2fbbd620fb
parent4212cad593be61cdbd03aa15adcc229aa4e0af7e (diff)
examples: imx7d_sdb_m4/imx7d_val_m4: explicitly request DCE mode
-rw-r--r--examples/imx7d_sdb_m4/board.c3
-rw-r--r--examples/imx7d_val_m4/board.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/examples/imx7d_sdb_m4/board.c b/examples/imx7d_sdb_m4/board.c
index 3ac84e4..5ce8c78 100644
--- a/examples/imx7d_sdb_m4/board.c
+++ b/examples/imx7d_sdb_m4/board.c
@@ -35,6 +35,7 @@
#include "rdc.h"
#include "wdog_imx.h"
#include "pin_mux.h"
+#include "uart_imx.h"
/* Initialize clock. */
void BOARD_ClockInit(void)
@@ -79,7 +80,7 @@ void dbg_uart_init(void)
/* Config debug uart pins */
configure_uart_pins(BOARD_DEBUG_UART_BASEADDR);
- DbgConsole_Init(BOARD_DEBUG_UART_BASEADDR, get_uart_clock_freq(BOARD_DEBUG_UART_BASEADDR), 115200);
+ DbgConsole_Init(BOARD_DEBUG_UART_BASEADDR, get_uart_clock_freq(BOARD_DEBUG_UART_BASEADDR), 115200, uartModemModeDce);
}
void BOARD_RdcInit(void)
diff --git a/examples/imx7d_val_m4/board.c b/examples/imx7d_val_m4/board.c
index 3ac84e4..5ce8c78 100644
--- a/examples/imx7d_val_m4/board.c
+++ b/examples/imx7d_val_m4/board.c
@@ -35,6 +35,7 @@
#include "rdc.h"
#include "wdog_imx.h"
#include "pin_mux.h"
+#include "uart_imx.h"
/* Initialize clock. */
void BOARD_ClockInit(void)
@@ -79,7 +80,7 @@ void dbg_uart_init(void)
/* Config debug uart pins */
configure_uart_pins(BOARD_DEBUG_UART_BASEADDR);
- DbgConsole_Init(BOARD_DEBUG_UART_BASEADDR, get_uart_clock_freq(BOARD_DEBUG_UART_BASEADDR), 115200);
+ DbgConsole_Init(BOARD_DEBUG_UART_BASEADDR, get_uart_clock_freq(BOARD_DEBUG_UART_BASEADDR), 115200, uartModemModeDce);
}
void BOARD_RdcInit(void)