[PATCH v2 7/9] imx8mm_evk: spl: enable pwm clock
Tommaso Merciai
tommaso.merciai at amarulasolutions.com
Wed Mar 16 16:27:43 CET 2022
Enable pwm1 clock into spl
Signed-off-by: Tommaso Merciai <tommaso.merciai at amarulasolutions.com>
---
Changes since v1:
- Fix enable_pwm_clk call
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..cf173b885f 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(0, 1);
+#endif
+
board_early_init_f();
timer_init();
--
2.25.1
More information about the U-Boot
mailing list