[v3,5/5] board: bsh: imx8mn_bsh_smm_s2/s2pro: let clock system enable UART clock

Message ID 20250520085436.925901-6-dario.binacchi@amarulasolutions.com
State New
Headers show
Series
  • Restore imx8mn_bsh_smm_s2 properly booting
Related show

Commit Message

Dario Binacchi May 20, 2025, 8:54 a.m. UTC
Now that the UART driver can enable the required clocks, remove
the hard-coded clock enable.

Co-developed-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>

---

Changes in v3:
- Drop patch 4/4 "serial: mxc: restore booting for imx8mn_bsh_smm_s2"
- Add patch 4/5 "board: bsh: imx8mn_bsh_smm_s2/s2pro: enlarge
  CONFIG_SPL_SYS_MALLOC_F_LEN"
- Add patch 5/5 "board: bsh: imx8mn_bsh_smm_s2/s2pro: let clock system
  enable UART clock"

 board/bsh/imx8mn_smm_s2/spl.c | 2 --
 1 file changed, 2 deletions(-)

Patch

diff --git a/board/bsh/imx8mn_smm_s2/spl.c b/board/bsh/imx8mn_smm_s2/spl.c
index 5a77d28cb7e1..d36ddd24c635 100644
--- a/board/bsh/imx8mn_smm_s2/spl.c
+++ b/board/bsh/imx8mn_smm_s2/spl.c
@@ -43,8 +43,6 @@  void spl_board_init(void)
 
 int board_early_init_f(void)
 {
-	init_uart_clk(3);
-
 	if (IS_ENABLED(CONFIG_NAND_MXS)) {
 		init_nand_clk();
 	}