[PATCH] power: Tighten some power driver dependencies

Tom Rini trini at konsulko.com
Mon Aug 4 23:51:13 CEST 2025


The MediaTek mt6323 power driver cannot build without access to some
platform specific header files. Express that requirements in Kconfig as
well.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
Cc: Jaehoon Chung <jh80.chung at samsung.com>
---
 drivers/power/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index fd1c871f0dbb..d17337c0c3f0 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -463,6 +463,7 @@ config TWL4030_POWER
 
 config POWER_MT6323
 	bool "Poweroff driver for mediatek mt6323"
+	depends on ARCH_MEDIATEK
 	select CMD_POWEROFF
 	help
 	  This adds poweroff driver for mt6323
-- 
2.43.0



More information about the U-Boot mailing list