[PATCH] serial: make VPL_DM_SERIAL depend on VPL_DM

Quentin Schulz foss+uboot at 0leil.net
Wed Oct 29 12:17:43 CET 2025


From: Quentin Schulz <quentin.schulz at cherry.de>

I have a hunch VPL_DM_SERIAL should not be selectable if VPL isn't set
as implied by the prefix. Additionally, still based on the prefix, I'm
assuming VPL_DM should be a dependency. Since VPL_DM can only be
selectable when VPL is enabled, only depend on VPL_DM.

This mirrors SPL_DM_SERIAL and TPL_DM_SERIAL so seems right to me.

Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>
---
 drivers/serial/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index bc05d2f1508..8d2ecdada49 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -194,7 +194,7 @@ config TPL_DM_SERIAL
 
 config VPL_DM_SERIAL
 	bool "Enable Driver Model for serial drivers in VPL"
-	depends on DM_SERIAL
+	depends on DM_SERIAL && VPL_DM
 	default y if VPL && DM_SERIAL
 	help
 	  Enable driver model for serial in VPL. This replaces

---
base-commit: 4cad9faf8d2887b8851f0ced5194ffbaa92ca71e
change-id: 20251029-vpl-dm-serial-2e554139c888

Best regards,
-- 
Quentin Schulz <quentin.schulz at cherry.de>



More information about the U-Boot mailing list