[PATCH v2 021/169] mediatek: Add a Kconfig for SPL_RESET_MEDIATEK

Simon Glass sjg at chromium.org
Sun Feb 5 23:36:07 CET 2023


This is implicitly used in the source and seems useful, so add it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 drivers/reset/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index e2affe20e34..64c3ea332b4 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -132,6 +132,10 @@ config RESET_MEDIATEK
 	help
 	  Support for reset controller on MediaTek SoCs.
 
+config SPL_RESET_MEDIATEK
+	def_bool n  # Reset controller driver for MediaTek SoCs (SPL)
+	depends on SPL_DM_RESET && ARCH_MEDIATEK && SPL_CLK
+
 config RESET_MTMIPS
 	bool "Reset controller driver for MediaTek MIPS platform"
 	depends on DM_RESET && ARCH_MTMIPS
-- 
2.39.1.519.gcb327c4b5f-goog



More information about the U-Boot mailing list