summaryrefslogtreecommitdiff
path: root/drivers/serial
diff options
context:
space:
mode:
authorQuentin Schulz <[email protected]>2025-10-29 12:17:43 +0100
committerTom Rini <[email protected]>2025-11-06 17:33:31 -0600
commit9c23910f665d262f3d3894551c9c731a24d2f0be (patch)
treea529c0ff89a704430f53a595b46652b6a99d7976 /drivers/serial
parent3e68c01baf80c66d0c94be753137f01fba29632d (diff)
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 <[email protected]> Reviewed-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/Kconfig2
1 files changed, 1 insertions, 1 deletions
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