diff options
author | Patrice Chotard <patrice.chotard@foss.st.com> | 2025-01-30 12:57:54 +0100 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@foss.st.com> | 2025-03-12 16:44:31 +0100 |
commit | 1a87755ecd0d36ec29acdbcbc9b381e76cfd6cfd (patch) | |
tree | 7ae18d6ac68c4b3ba6f08a27d94eaad8ec68b975 /test/py/spawn.py | |
parent | 2cc38eb83c4c7752c56bd27baa6c7aaf87d2867b (diff) |
serial: stm32: restrict _debug_uart_init() usage
Since commit 948da7773e34 ("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>
Diffstat (limited to 'test/py/spawn.py')
0 files changed, 0 insertions, 0 deletions