* [PATCH] ARM: hisi: drop useless depend on ARCH_MULTI_V7
@ 2019-05-27 15:51 Kefeng Wang
2019-10-30 9:09 ` Wei Xu
0 siblings, 1 reply; 2+ messages in thread
From: Kefeng Wang @ 2019-05-27 15:51 UTC (permalink / raw)
To: Wei Xu; +Cc: Kefeng Wang, linux-arm-kernel
The ARCH_HISI depends on ARCH_MULTI_V7, no need to add this depend
to each sub-menu config, and use tabs where possible.
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
---
arch/arm/mach-hisi/Kconfig | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/arch/arm/mach-hisi/Kconfig b/arch/arm/mach-hisi/Kconfig
index 98338a489921..3b010fe7c0e9 100644
--- a/arch/arm/mach-hisi/Kconfig
+++ b/arch/arm/mach-hisi/Kconfig
@@ -15,7 +15,6 @@ menu "Hisilicon platform type"
config ARCH_HI3xxx
bool "Hisilicon Hi36xx family"
- depends on ARCH_MULTI_V7
select CACHE_L2X0
select HAVE_ARM_SCU if SMP
select HAVE_ARM_TWD if SMP
@@ -25,17 +24,15 @@ config ARCH_HI3xxx
Support for Hisilicon Hi36xx SoC family
config ARCH_HIP01
- bool "Hisilicon HIP01 family"
- depends on ARCH_MULTI_V7
- select HAVE_ARM_SCU if SMP
- select HAVE_ARM_TWD if SMP
- select ARM_GLOBAL_TIMER
- help
- Support for Hisilicon HIP01 SoC family
+ bool "Hisilicon HIP01 family"
+ select HAVE_ARM_SCU if SMP
+ select HAVE_ARM_TWD if SMP
+ select ARM_GLOBAL_TIMER
+ help
+ Support for Hisilicon HIP01 SoC family
config ARCH_HIP04
bool "Hisilicon HiP04 Cortex A15 family"
- depends on ARCH_MULTI_V7
select ARM_ERRATA_798181 if SMP
select HAVE_ARM_ARCH_TIMER
select MCPM if SMP
@@ -46,7 +43,6 @@ config ARCH_HIP04
config ARCH_HIX5HD2
bool "Hisilicon X5HD2 family"
- depends on ARCH_MULTI_V7
select CACHE_L2X0
select HAVE_ARM_SCU if SMP
select HAVE_ARM_TWD if SMP
--
2.20.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: hisi: drop useless depend on ARCH_MULTI_V7
2019-05-27 15:51 [PATCH] ARM: hisi: drop useless depend on ARCH_MULTI_V7 Kefeng Wang
@ 2019-10-30 9:09 ` Wei Xu
0 siblings, 0 replies; 2+ messages in thread
From: Wei Xu @ 2019-10-30 9:09 UTC (permalink / raw)
To: Kefeng Wang; +Cc: linux-arm-kernel
On 2019/5/27 23:51, Kefeng Wang wrote:
> The ARCH_HISI depends on ARCH_MULTI_V7, no need to add this depend
> to each sub-menu config, and use tabs where possible.
>
> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Thanks!
Applied to the hisilicon armv7 SoC tree.
Best Regards,
Wei
> ---
> arch/arm/mach-hisi/Kconfig | 16 ++++++----------
> 1 file changed, 6 insertions(+), 10 deletions(-)
>
> diff --git a/arch/arm/mach-hisi/Kconfig b/arch/arm/mach-hisi/Kconfig
> index 98338a489921..3b010fe7c0e9 100644
> --- a/arch/arm/mach-hisi/Kconfig
> +++ b/arch/arm/mach-hisi/Kconfig
> @@ -15,7 +15,6 @@ menu "Hisilicon platform type"
>
> config ARCH_HI3xxx
> bool "Hisilicon Hi36xx family"
> - depends on ARCH_MULTI_V7
> select CACHE_L2X0
> select HAVE_ARM_SCU if SMP
> select HAVE_ARM_TWD if SMP
> @@ -25,17 +24,15 @@ config ARCH_HI3xxx
> Support for Hisilicon Hi36xx SoC family
>
> config ARCH_HIP01
> - bool "Hisilicon HIP01 family"
> - depends on ARCH_MULTI_V7
> - select HAVE_ARM_SCU if SMP
> - select HAVE_ARM_TWD if SMP
> - select ARM_GLOBAL_TIMER
> - help
> - Support for Hisilicon HIP01 SoC family
> + bool "Hisilicon HIP01 family"
> + select HAVE_ARM_SCU if SMP
> + select HAVE_ARM_TWD if SMP
> + select ARM_GLOBAL_TIMER
> + help
> + Support for Hisilicon HIP01 SoC family
>
> config ARCH_HIP04
> bool "Hisilicon HiP04 Cortex A15 family"
> - depends on ARCH_MULTI_V7
> select ARM_ERRATA_798181 if SMP
> select HAVE_ARM_ARCH_TIMER
> select MCPM if SMP
> @@ -46,7 +43,6 @@ config ARCH_HIP04
>
> config ARCH_HIX5HD2
> bool "Hisilicon X5HD2 family"
> - depends on ARCH_MULTI_V7
> select CACHE_L2X0
> select HAVE_ARM_SCU if SMP
> select HAVE_ARM_TWD if SMP
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-30 9:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-27 15:51 [PATCH] ARM: hisi: drop useless depend on ARCH_MULTI_V7 Kefeng Wang
2019-10-30 9:09 ` Wei Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).