]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
reset: Restrict RESET_HSDK to ARC_SOC_HSDK or COMPILE_TEST
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 11 Sep 2017 12:22:08 +0000 (14:22 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 21 Sep 2017 10:44:01 +0000 (12:44 +0200)
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>
drivers/reset/Kconfig

index a7c7d5a8c089da95340d434f8e484b6b324625d0..e2baecbb9dd3a08c71e28a72b45bb504a7b5a6e1 100644 (file)
@@ -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.