]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
ARM: stm32: Add missing build of debug UART init code on DH STM32MP1 DHSOM
authorMarek Vasut <marek.vasut@mailbox.org>
Tue, 18 Nov 2025 23:17:23 +0000 (00:17 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 5 Dec 2025 10:39:20 +0000 (11:39 +0100)
Commit c37a6684818d ("stm32mp: fix compilation issue with DEBUG_UART")
split the debug UART initialization code into two files, but failed to
update other non-ST boards. This did not lead to noticeable breakage
until debug UART is enabled, which is not the default. Update the
Makefile accordingly to allow debug UART to work.

Fixes: c37a6684818d ("stm32mp: fix compilation issue with DEBUG_UART")
Signed-off-by: Marek Vasut <marek.vasut@mailbox.org>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
board/dhelectronics/dh_stm32mp1/Makefile

index 2f4a301d1a018a635c6a45b612b4ff8ec37aea3b..429e01453bb9c62e925e7bbb4d5261b3d511abb4 100644 (file)
@@ -3,6 +3,8 @@
 # Copyright (C) 2018, STMicroelectronics - All Rights Reserved
 #
 
+obj-$(CONFIG_DEBUG_UART_BOARD_INIT) += ../../st/stm32mp1/debug_uart.o
+
 obj-$(CONFIG_PMIC_STPMIC1) += ../../st/common/stpmic1.o
 obj-y += board.o