diff mbox series

[RFC,25/27] reset: k210: convert SOC_CANAAN to ARCH_CANAAN

Message ID 20220923185605.1900083-26-conor@kernel.org (mailing list archive)
State RFC, archived
Headers show
Series RISC-V: Convert SOC_FOO symbols to ARCH_FOO | expand

Commit Message

Conor Dooley Sept. 23, 2022, 6:56 p.m. UTC
From: Conor Dooley <conor.dooley@microchip.com>

As per the discussions at LPC, the SOC_ symbols in Kconfig.socs are to
be converted to ARCH_ for consistency between "incumbent" and incoming
vendors who have a legacy in other architectures.

Convert the SOC_CANAAN dependancy to ARCH_CANAAN. Since ARCH_CANAAN is
only defined on RISC-V, the Kconfig dependancy on RISCV can be dropped.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
---
 drivers/reset/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index a69bd6ef3110..576190fbe544 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -94,9 +94,9 @@  config RESET_INTEL_GW
 
 config RESET_K210
 	bool "Reset controller driver for Canaan Kendryte K210 SoC"
-	depends on (SOC_CANAAN || COMPILE_TEST) && OF
+	depends on (ARCH_CANAAN || COMPILE_TEST) && OF
 	select MFD_SYSCON
-	default SOC_CANAAN
+	default ARCH_CANAAN
 	help
 	  Support for the Canaan Kendryte K210 RISC-V SoC reset controller.
 	  Say Y if you want to control reset signals provided by this