serial: make VPL_DM_SERIAL depend on VPL_DM
authorQuentin Schulz <quentin.schulz@cherry.de>
Wed, 29 Oct 2025 11:17:43 +0000 (12:17 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 6 Nov 2025 23:33:31 +0000 (17:33 -0600)
commit9c23910f665d262f3d3894551c9c731a24d2f0be
treea529c0ff89a704430f53a595b46652b6a99d7976
parent3e68c01baf80c66d0c94be753137f01fba29632d
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 <quentin.schulz@cherry.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/serial/Kconfig