[v1,2/7] soc: starfive: Replace SOC_STARFIVE with ARCH_SATRFIVE

Message ID 20230411064743.273388-3-changhuang.liang@starfivetech.com
State New
Headers
Series Add JH7110 DPHY PMU support |

Commit Message

Changhuang Liang April 11, 2023, 6:47 a.m. UTC
  Using ARCH_FOO symbol is preferred than SOC_FOO.

Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
---
 drivers/soc/starfive/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Conor Dooley April 11, 2023, 8:13 p.m. UTC | #1
On Mon, Apr 10, 2023 at 11:47:38PM -0700, Changhuang Liang wrote:
> Using ARCH_FOO symbol is preferred than SOC_FOO.
> 

Reviewed-by: Conor Dooley <conor.dooley@microchip.com>

> Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
> ---
>  drivers/soc/starfive/Kconfig | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/soc/starfive/Kconfig b/drivers/soc/starfive/Kconfig
> index bdb96dc4c989..1e9b0c414fec 100644
> --- a/drivers/soc/starfive/Kconfig
> +++ b/drivers/soc/starfive/Kconfig
> @@ -3,8 +3,8 @@
>  config JH71XX_PMU
>  	bool "Support PMU for StarFive JH71XX Soc"
>  	depends on PM
> -	depends on SOC_STARFIVE || COMPILE_TEST
> -	default SOC_STARFIVE
> +	depends on ARCH_STARFIVE || COMPILE_TEST
> +	default ARCH_STARFIVE
>  	select PM_GENERIC_DOMAINS
>  	help
>  	  Say 'y' here to enable support power domain support.
> -- 
> 2.25.1
>
  
Walker Chen April 12, 2023, 2:11 a.m. UTC | #2
On 2023/4/11 14:47, Changhuang Liang wrote:
> Using ARCH_FOO symbol is preferred than SOC_FOO.
> 
> Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
> ---
>  drivers/soc/starfive/Kconfig | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/soc/starfive/Kconfig b/drivers/soc/starfive/Kconfig
> index bdb96dc4c989..1e9b0c414fec 100644
> --- a/drivers/soc/starfive/Kconfig
> +++ b/drivers/soc/starfive/Kconfig
> @@ -3,8 +3,8 @@
>  config JH71XX_PMU
>  	bool "Support PMU for StarFive JH71XX Soc"
>  	depends on PM
> -	depends on SOC_STARFIVE || COMPILE_TEST
> -	default SOC_STARFIVE
> +	depends on ARCH_STARFIVE || COMPILE_TEST
> +	default ARCH_STARFIVE
>  	select PM_GENERIC_DOMAINS
>  	help
>  	  Say 'y' here to enable support power domain support.

The subject 'ARCH_SATRFIVE' spelling error.

Best regards,
Walker
  
Changhuang Liang April 12, 2023, 2:52 a.m. UTC | #3
On 2023/4/12 10:11, Walker Chen wrote:
> 
> 
> On 2023/4/11 14:47, Changhuang Liang wrote:
>> Using ARCH_FOO symbol is preferred than SOC_FOO.
>>
>> Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
>> ---
>>  drivers/soc/starfive/Kconfig | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/drivers/soc/starfive/Kconfig b/drivers/soc/starfive/Kconfig
>> index bdb96dc4c989..1e9b0c414fec 100644
>> --- a/drivers/soc/starfive/Kconfig
>> +++ b/drivers/soc/starfive/Kconfig
>> @@ -3,8 +3,8 @@
>>  config JH71XX_PMU
>>  	bool "Support PMU for StarFive JH71XX Soc"
>>  	depends on PM
>> -	depends on SOC_STARFIVE || COMPILE_TEST
>> -	default SOC_STARFIVE
>> +	depends on ARCH_STARFIVE || COMPILE_TEST
>> +	default ARCH_STARFIVE
>>  	select PM_GENERIC_DOMAINS
>>  	help
>>  	  Say 'y' here to enable support power domain support.
> 
> The subject 'ARCH_SATRFIVE' spelling error.
> 

OK, will fix it.

> Best regards,
> Walker
  

Patch

diff --git a/drivers/soc/starfive/Kconfig b/drivers/soc/starfive/Kconfig
index bdb96dc4c989..1e9b0c414fec 100644
--- a/drivers/soc/starfive/Kconfig
+++ b/drivers/soc/starfive/Kconfig
@@ -3,8 +3,8 @@ 
 config JH71XX_PMU
 	bool "Support PMU for StarFive JH71XX Soc"
 	depends on PM
-	depends on SOC_STARFIVE || COMPILE_TEST
-	default SOC_STARFIVE
+	depends on ARCH_STARFIVE || COMPILE_TEST
+	default ARCH_STARFIVE
 	select PM_GENERIC_DOMAINS
 	help
 	  Say 'y' here to enable support power domain support.