summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaoran.Wang <elven.wang@nxp.com>2018-10-29 20:12:03 +0800
committerAnson Huang <Anson.Huang@nxp.com>2019-12-13 10:41:30 +0800
commit81624751253d867ba9a3e5a8a0f4580b7b8cdb54 (patch)
treeb83853331ec112637c9a0f011dced3978db04545
parent9b8cf58deee79eccde5c129b0aec9b4deaacb1ab (diff)
MA-13239 imx8qm: Touch correct pad for UART0
Due imx8qm_mek's UART0_RTS_B and UART0_CTS_0 pad reuse to be the UART2 for base bard which operated by M4_1, so don't touch these two pads in ATF. Signed-off-by: Haoran.Wang <elven.wang@nxp.com> Acked-by: Pete Zhang <pete.zhang@nxp.com>
-rw-r--r--plat/imx/imx8qm/imx8qm_bl31_setup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plat/imx/imx8qm/imx8qm_bl31_setup.c b/plat/imx/imx8qm/imx8qm_bl31_setup.c
index 95e06a8a..66b6aaac 100644
--- a/plat/imx/imx8qm/imx8qm_bl31_setup.c
+++ b/plat/imx/imx8qm/imx8qm_bl31_setup.c
@@ -308,8 +308,7 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
/* configure UART pads */
sc_pad_set(ipc_handle, SC_P_UART0_RX, UART_PAD_CTRL);
sc_pad_set(ipc_handle, SC_P_UART0_TX, UART_PAD_CTRL);
- sc_pad_set(ipc_handle, SC_P_UART0_RTS_B, UART_PAD_CTRL);
- sc_pad_set(ipc_handle, SC_P_UART0_CTS_B, UART_PAD_CTRL);
+
lpuart32_serial_init(IMX_BOOT_UART_BASE);
#endif