Message ID | 20190527155128.192006-1-wangkefeng.wang@huawei.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 88ae095b2855c5caf18cc476b03f5b0c96b040a2 |
Headers | show |
Series | ARM: hisi: drop useless depend on ARCH_MULTI_V7 | expand |
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
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
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(-)