[U-Boot,3/3] Kconfig: make TPL_DM_SERIAL depend on TPL_DM
diff mbox series

Message ID a6657d59c09a0b207119cd5b47989ff61be118cc.1573403030.git.tommyhebb@gmail.com
State Accepted
Commit 6920f00c2c1b4c9799af0de7e398381a60664d15
Delegated to: Tom Rini
Headers show
Series
  • [U-Boot,1/3] Makefile: don't try to construct CLEAN_FILES based on config
Related show

Commit Message

Thomas Hebb Nov. 10, 2019, 4:23 p.m. UTC
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini Dec. 4, 2019, 4:01 a.m. UTC | #1
On Sun, Nov 10, 2019 at 08:23:55AM -0800, Thomas Hebb wrote:

> This missing dependency seems like an oversight, since all other
> TPL_DM_* options have it.
> 
> Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>

Applied to u-boot/master, thanks!

Patch
diff mbox series

diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index d36a0108ea..ece7d87d4c 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -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