From: Quentin Schulz Date: Wed, 29 Oct 2025 11:17:43 +0000 (+0100) Subject: serial: make VPL_DM_SERIAL depend on VPL_DM X-Git-Tag: v2026.01-rc2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c23910f665d262f3d3894551c9c731a24d2f0be;p=pandora-u-boot.git serial: make VPL_DM_SERIAL depend on VPL_DM 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 Reviewed-by: Tom Rini Reviewed-by: Simon Glass --- diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index e33f61b024a..371d7aa5bba 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