[PATCH] misc: Add missing dependency to CROS_EC_SANDBOX

Tom Rini trini at konsulko.com
Fri Mar 20 21:53:49 CET 2026


In order to build CROS_EC_SANDBOX we must also have the hashing API
enabled, add that as a dependency.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 drivers/misc/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index b2dfc7f5b663..ea785793d18b 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -257,7 +257,7 @@ config VPL_CROS_EC_LPC
 
 config CROS_EC_SANDBOX
 	bool "Enable Chrome OS EC sandbox driver"
-	depends on CROS_EC && SANDBOX
+	depends on CROS_EC && SANDBOX && HASH
 	help
 	  Enable a sandbox emulation of the Chrome OS EC. This supports
 	  keyboard (use the -l flag to enable the LCD), verified boot context,
-- 
2.43.0



More information about the U-Boot mailing list