[v5,05/21] reset: starfive: Replace SOC_STARFIVE with ARCH_STARFIVE

Message ID 20230311090733.56918-6-hal.feng@starfivetech.com
State New
Headers
Series Basic clock, reset & device tree support for StarFive JH7110 RISC-V SoC |

Commit Message

Hal Feng March 11, 2023, 9:07 a.m. UTC
  Using ARCH_FOO symbol is preferred than SOC_FOO.

Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
---
 drivers/reset/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Conor Dooley March 11, 2023, 12:56 p.m. UTC | #1
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
  
Philipp Zabel March 14, 2023, 2:34 p.m. UTC | #2
On Sa, 2023-03-11 at 17:07 +0800, Hal Feng wrote:
> Using ARCH_FOO symbol is preferred than SOC_FOO.
> 
> Signed-off-by: Hal Feng <hal.feng@starfivetech.com>

Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>

regards
Philipp
  
Emil Renner Berthing March 20, 2023, 11:51 a.m. UTC | #3
On Sat, 11 Mar 2023 at 10:07, Hal Feng <hal.feng@starfivetech.com> wrote:
>
> Using ARCH_FOO symbol is preferred than SOC_FOO.
>
> Signed-off-by: Hal Feng <hal.feng@starfivetech.com>

Thanks!
Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>

> ---
>  drivers/reset/Kconfig | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
> index 2a52c990d4fe..6ae5aa46a6b2 100644
> --- a/drivers/reset/Kconfig
> +++ b/drivers/reset/Kconfig
> @@ -234,8 +234,8 @@ config RESET_SOCFPGA
>
>  config RESET_STARFIVE_JH7100
>         bool "StarFive JH7100 Reset Driver"
> -       depends on SOC_STARFIVE || COMPILE_TEST
> -       default SOC_STARFIVE
> +       depends on ARCH_STARFIVE || COMPILE_TEST
> +       default ARCH_STARFIVE
>         help
>           This enables the reset controller driver for the StarFive JH7100 SoC.
>
> --
> 2.38.1
>
  

Patch

diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index 2a52c990d4fe..6ae5aa46a6b2 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -234,8 +234,8 @@  config RESET_SOCFPGA
 
 config RESET_STARFIVE_JH7100
 	bool "StarFive JH7100 Reset Driver"
-	depends on SOC_STARFIVE || COMPILE_TEST
-	default SOC_STARFIVE
+	depends on ARCH_STARFIVE || COMPILE_TEST
+	default ARCH_STARFIVE
 	help
 	  This enables the reset controller driver for the StarFive JH7100 SoC.