Kconfig: make TPL_DM_SERIAL depend on TPL_DM
authorThomas Hebb <tommyhebb@gmail.com>
Sun, 10 Nov 2019 16:23:55 +0000 (08:23 -0800)
committerTom Rini <trini@konsulko.com>
Tue, 3 Dec 2019 13:43:23 +0000 (08:43 -0500)
This missing dependency seems like an oversight, since all other
TPL_DM_* options have it.

Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
drivers/serial/Kconfig

index d36a010..ece7d87 100644 (file)
@@ -145,7 +145,7 @@ config SPL_DM_SERIAL
 
 config TPL_DM_SERIAL
        bool "Enable Driver Model for serial drivers in TPL"
-       depends on DM_SERIAL
+       depends on DM_SERIAL && TPL_DM
        default y if TPL && DM_SERIAL
        help
          Enable driver model for serial in TPL. This replaces