boards/arm/nrf52xx_boards: makes GPIO_AS_PINRESET common
Kconfig keyword GPIO_AS_PINRESET is common for whole nrf52 series.
This patch move it to the series Kconfig.soc file.
Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
diff --git a/arch/arm/soc/nordic_nrf/nrf52/Kconfig.soc b/arch/arm/soc/nordic_nrf/nrf52/Kconfig.soc
index f834775..c67091e 100644
--- a/arch/arm/soc/nordic_nrf/nrf52/Kconfig.soc
+++ b/arch/arm/soc/nordic_nrf/nrf52/Kconfig.soc
@@ -47,3 +47,8 @@
not switch back these pins to NFCT mode. Doing this requires UICR
erase prior to flashing device using the image which has
this option disabled.
+
+config GPIO_AS_PINRESET
+ bool "GPIO as pin reset (reset button)"
+ depends on SOC_SERIES_NRF52X
+ default y
diff --git a/boards/arm/96b_nitrogen/Kconfig b/boards/arm/96b_nitrogen/Kconfig
index 2c79679..a7be31b 100644
--- a/boards/arm/96b_nitrogen/Kconfig
+++ b/boards/arm/96b_nitrogen/Kconfig
@@ -6,8 +6,4 @@
if BOARD_96B_NITROGEN
-config GPIO_AS_PINRESET
- bool "GPIO as pin reset (reset button)"
- default y
-
endif # BOARD_96B_NITROGEN
diff --git a/boards/arm/nrf52840_pca10056/Kconfig b/boards/arm/nrf52840_pca10056/Kconfig
index aad2d9b..3b7b5fa 100644
--- a/boards/arm/nrf52840_pca10056/Kconfig
+++ b/boards/arm/nrf52840_pca10056/Kconfig
@@ -6,8 +6,4 @@
if BOARD_NRF52840_PCA10056
-config GPIO_AS_PINRESET
- bool "GPIO as pin reset (reset button)"
- default y
-
endif # BOARD_NRF52840_PCA10056
diff --git a/boards/arm/nrf52_pca10040/Kconfig b/boards/arm/nrf52_pca10040/Kconfig
index fc97379..76a1508 100644
--- a/boards/arm/nrf52_pca10040/Kconfig
+++ b/boards/arm/nrf52_pca10040/Kconfig
@@ -6,8 +6,4 @@
if BOARD_NRF52_PCA10040
-config GPIO_AS_PINRESET
- bool "GPIO as pin reset (reset button)"
- default y
-
endif # BOARD_NRF52_PCA10040
diff --git a/boards/arm/nrf52_vbluno52/Kconfig b/boards/arm/nrf52_vbluno52/Kconfig
index 4fd8e82..9964cb5 100644
--- a/boards/arm/nrf52_vbluno52/Kconfig
+++ b/boards/arm/nrf52_vbluno52/Kconfig
@@ -6,8 +6,4 @@
if BOARD_NRF52_VBLUNO52
-config GPIO_AS_PINRESET
- bool "GPIO as pin reset (reset button)"
- default y
-
endif # BOARD_NRF52_VBLUNO52