[PATCH 1/4] ARM: i.MX6: Riotboard: ungate peripheral clocks

Sascha Hauer s.hauer at pengutronix.de
Mon Jan 5 02:44:58 PST 2026


Without it the DEBUG_LL console doesn't work when starting from USB.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/boards/embest-riotboard/lowlevel.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boards/embest-riotboard/lowlevel.c b/arch/arm/boards/embest-riotboard/lowlevel.c
index 9ea92f50910d4ed3fd5a085b0e2f92b3bbf147f9..3aae39f75f70601a0da7b061a5bd2b922a3e1cea 100644
--- a/arch/arm/boards/embest-riotboard/lowlevel.c
+++ b/arch/arm/boards/embest-riotboard/lowlevel.c
@@ -22,6 +22,7 @@ ENTRY_FUNCTION(start_imx6s_riotboard, r0, r1, r2)
 
 	if (IS_ENABLED(CONFIG_DEBUG_LL)) {
 		writel(0x4, 0x020e016c);
+		imx6_ungate_all_peripherals();
 		imx6_uart_setup_ll();
 		putc_ll('a');
 	}

-- 
2.47.3




More information about the barebox mailing list