mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <>
Cc: Ahmad Fatoum <>
Subject: [PATCH] reset: starfive: add dependency on CONFIG_COMMON_CLK
Date: Tue, 16 Aug 2022 07:28:23 +0200	[thread overview]
Message-ID: <> (raw)

The reset controller driver enables the necessary clocks before resetting,
so it makes no sense to build the driver without clock support.

Signed-off-by: Ahmad Fatoum <>
 drivers/reset/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index 913b309eac3a..16c05d50f0e3 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -41,6 +41,7 @@ config RESET_IMX7
 	bool "StarFive Controller Driver" if COMPILE_TEST
+	depends on COMMON_CLK
 	default SOC_STARFIVE
 	  This enables the reset controller driver for the StarFive JH7100.

             reply	other threads:[~2022-08-16  5:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-16  5:28 Ahmad Fatoum [this message]
2022-08-16  8:54 ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox