summaryrefslogtreecommitdiff
path: root/drivers/reset
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2021-03-31 10:15:19 +0200
committerPhilipp Zabel <p.zabel@pengutronix.de>2021-05-10 09:41:45 +0200
commit6ab9d6219f86f0db916105444813aafce626a2f4 (patch)
tree51d2907a223f66bdf2d71900fb38f0214407470a /drivers/reset
parent42f6a76fbe85e5243f83a3ed76809b1ebbb7087e (diff)
reset: RESET_INTEL_GW should depend on X86
The Intel Gateway reset controller is only present on Intel Gateway platforms. Hence add a dependency on X86, to prevent asking the user about this driver when configuring a kernel without Intel Gateway support. Fixes: c9aef213e38cde27 ("reset: intel: Add system reset controller driver") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset')
-rw-r--r--drivers/reset/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index e82d2dbcd778..a52d45cea757 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -83,6 +83,7 @@ config RESET_IMX7
config RESET_INTEL_GW
bool "Intel Reset Controller Driver"
+ depends on X86 || COMPILE_TEST
depends on OF && HAS_IOMEM
select REGMAP_MMIO
help