[PATCH 7/9] imx8mm_evk: spl: enable pwm clock

Tommaso Merciai tommaso.merciai at amarulasolutions.com
Wed Mar 16 10:00:11 CET 2022


Enable pwm clock into spl

Signed-off-by: Tommaso Merciai <tommaso.merciai at amarulasolutions.com>
---
 board/freescale/imx8mm_evk/spl.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/board/freescale/imx8mm_evk/spl.c b/board/freescale/imx8mm_evk/spl.c
index 4ef7f6f180..5aabdba0b0 100644
--- a/board/freescale/imx8mm_evk/spl.c
+++ b/board/freescale/imx8mm_evk/spl.c
@@ -135,6 +135,10 @@ void board_init_f(ulong dummy)
 
 	init_uart_clk(1);
 
+#ifdef CONFIG_PWM_IMX
+	enable_pwm_clk(1);
+#endif
+
 	board_early_init_f();
 
 	timer_init();
-- 
2.25.1



More information about the U-Boot mailing list