summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2017-09-11 14:22:08 +0200
committerPhilipp Zabel <p.zabel@pengutronix.de>2017-09-21 12:44:01 +0200
commit544e3bf4f0e8278400f19ca7918a3cdf2548b4eb (patch)
tree3b868ea3e60ad49506916bfbef405166a06f50ce
parent13541226dc056fa3f54417ce12f18ba711a1591c (diff)
downloadlinux-544e3bf4f0e8278400f19ca7918a3cdf2548b4eb.tar.bz2
reset: Restrict RESET_HSDK to ARC_SOC_HSDK or COMPILE_TEST
The HSDK reset driver is only useful when building for an ARC HSDK platform. While at it, drop the "default n", as that is the default. Fixes: e0be864f14240cb1 ("ARC: reset: introduce HSDKv1 reset driver") Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> [p.zabel@pengutronix.de: rebased, renamed RESET_HSDK_V1 to RESET_HSDK] Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
-rw-r--r--drivers/reset/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index a7c7d5a8c089..e2baecbb9dd3 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -37,7 +37,7 @@ config RESET_BERLIN
config RESET_HSDK
bool "Synopsys HSDK Reset Driver"
depends on HAS_IOMEM
- default n
+ depends on ARC_SOC_HSDK || COMPILE_TEST
help
This enables the reset controller driver for HSDK board.