From e09a8b9f1b7d16052f5b56303411bdb5388a8044 Mon Sep 17 00:00:00 2001
From: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Date: Sat, 18 Jun 2022 15:13:07 +0300
Subject: [PATCH] spl: binman: Make TPL_BINMAN_SYMBOLS depend on TPL_FRAMEWORK

TPL_BINMAN_SYMBOLS depends on SPL_FRAMEWORK. The code this enables is
compiled by checking CONFIG_$(SPL_TPL_)FRAMEWORK, so it should depend on
TPL_FRAMEWORK instead (which in turn depends on SPL_FRAMEWORK). This was
most likely a typo due to copy-pasting the config's SPL version, fix it.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
---
 common/spl/Kconfig.tpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/spl/Kconfig.tpl b/common/spl/Kconfig.tpl
index 9a0e719cf9..834cb6b6dd 100644
--- a/common/spl/Kconfig.tpl
+++ b/common/spl/Kconfig.tpl
@@ -10,7 +10,7 @@ config TPL_SIZE_LIMIT
 
 config TPL_BINMAN_SYMBOLS
 	bool "Declare binman symbols in TPL"
-	depends on SPL_FRAMEWORK && BINMAN
+	depends on TPL_FRAMEWORK && BINMAN
 	default y
 	help
 	  This enables use of symbols in TPL which refer to U-Boot, enabling TPL
-- 
2.39.5