Skip to contentSkip to conversation

reset: Restrict RESET_HSDK_V1 to ARC_SOC_HSDK or COMPILE_TEST

PATCH In review Geert Uytterhoeven 3 participants 3 messages Sep 11, 2017 – Sep 21, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 reset: Restrict RESET_HSDK_V1 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 at linux-m68k.org>
---
 drivers/reset/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/reset/Kconfig +1 -1
index 52d5251660b9b51c..feea22c912ebf688 100644
@@ -36,7 +36,7 @@ config RESET_BERLIN
 
 config RESET_HSDK_V1
 	bool "HSDK v1 Reset Driver"
-	default n
+	depends on ARC_SOC_HSDK || COMPILE_TEST
 	help
 	  This enables the reset controller driver for HSDK v1.
 
Signature · 1 line
2.7.4
#1 lore raw
Quoted 17 lines · Geert Uytterhoeven

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 at linux-m68k.org>
---
  drivers/reset/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/reset/Kconfig +0 -0
index 52d5251660b9b51c..feea22c912ebf688 100644

drivers/reset/Kconfig config RESET_BERLIN · line 42

Quoted 8 lines
drivers/reset/Kconfig +1 -1
@@ -36,7 +36,7 @@ config RESET_BERLIN
 
  config RESET_HSDK_V1
  	bool "HSDK v1 Reset Driver"
-	default n
+	depends on ARC_SOC_HSDK || COMPILE_TEST
  	help
  	  This enables the reset controller driver for HSDK v1.
 

Philip, can u please pick this up - there would be conflict due to V1 rename - easy to fixup !

Thx,
-Vineet

maintainer
#2 lore raw
In reply to Geert Uytterhoeven

Hi Geert,

Quoted 7 lines · Geert Uytterhoeven

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 at linux-m68k.org>

Thank you for the patch. I have rebased it onto the HSDK_V1 -> HSDK name change on the reset/fixes branch.

regards
Philipp