Files
u-boot/drivers
Patrice Chotard 1a87755ecd serial: stm32: restrict _debug_uart_init() usage
Since commit 948da7773e ("arm: Add new config option ARCH_VERY_EARLY_INIT")
debug_uart_init() is called respectively in crt0.S and crt0_64.S.
That means that _debug_uart_init() is called for all STM32MP platforms
even for those which doesn't support SPL_BUILD.

So restrict _debug_uart_init() execution for platforms which can have
SPL_BUILD enabled (STM32MP1 platform only).

It's more needed to call debug_uart_init() in stm32mp1/cpu.c.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
2025-03-12 16:44:31 +01:00
..
2025-01-20 19:26:54 -06:00
2024-10-11 11:44:48 -06:00
2024-12-07 09:07:04 -03:00
2024-12-24 18:07:53 +01:00
2024-11-20 17:57:58 +01:00
2025-02-24 17:15:14 -06:00
2024-12-11 08:36:24 +01:00
2024-10-11 11:44:48 -06:00
2025-02-18 12:30:53 -06:00
2025-01-22 16:43:54 +01:00
2024-10-11 11:44:48 -06:00
2024-04-26 08:28:35 +03:00
2025-02-11 20:10:58 -06:00
2025-02-18 08:26:43 -06:00