[15/26] imx8mn_evk: drop duplicated code

Message ID 20210319075718.14181-16-peng.fan@oss.nxp.com
State New
Headers show
Series
  • imx: update for i.MX8M
Related show

Commit Message

Peng Fan (OSS) March 19, 2021, 7:57 a.m.
From: Peng Fan <peng.fan@nxp.com>


uart clk has been enabled, no need enable again.

Signed-off-by: Peng Fan <peng.fan@nxp.com>

---
 board/freescale/imx8mn_evk/spl.c | 2 --
 1 file changed, 2 deletions(-)

-- 
2.30.0

Patch

diff --git a/board/freescale/imx8mn_evk/spl.c b/board/freescale/imx8mn_evk/spl.c
index 6d5c7a5b46..80f79ce888 100644
--- a/board/freescale/imx8mn_evk/spl.c
+++ b/board/freescale/imx8mn_evk/spl.c
@@ -84,8 +84,6 @@  int board_early_init_f(void)
 
 	imx_iomux_v3_setup_multiple_pads(uart_pads, ARRAY_SIZE(uart_pads));
 
-	init_uart_clk(1);
-
 	return 0;
 }