mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 18:53:52 +08:00
d8f0faa339
hisi has a general dependency on ARCH_MULTIPLATFORM, which is problematic when building a kernel for non-V7 platforms but selecting drivers that might conflict with other architecture levels. In this case, it broke my (still out of tree) patch set that enables V7M multiplatform support, since that does not enable MULTI_IRQ support: arch/arm/kernel/built-in.o: In function `set_handle_irq': arch/arm/kernel/irq.c:125: undefined reference to `handle_arch_irq' arch/arm/kernel/built-in.o: In function `setup_arch': arch/arm/kernel/setup.c:965: undefined reference to `handle_arch_irq' Since all hisilicon platforms are ARMv7 based, we can avoid this problem by just making the dependency more specific. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Wei Xu <xuwei5@hisilicon.com>
46 lines
962 B
Plaintext
46 lines
962 B
Plaintext
config ARCH_HISI
|
|
bool "Hisilicon SoC Support"
|
|
depends on ARCH_MULTI_V7
|
|
select ARM_AMBA
|
|
select ARM_GIC
|
|
select ARM_TIMER_SP804
|
|
select POWER_RESET
|
|
select POWER_RESET_HISI
|
|
select POWER_SUPPLY
|
|
|
|
if ARCH_HISI
|
|
|
|
menu "Hisilicon platform type"
|
|
|
|
config ARCH_HI3xxx
|
|
bool "Hisilicon Hi36xx family" if ARCH_MULTI_V7
|
|
select CACHE_L2X0
|
|
select HAVE_ARM_SCU if SMP
|
|
select HAVE_ARM_TWD if SMP
|
|
select PINCTRL
|
|
select PINCTRL_SINGLE
|
|
help
|
|
Support for Hisilicon Hi36xx SoC family
|
|
|
|
config ARCH_HIP04
|
|
bool "Hisilicon HiP04 Cortex A15 family" if ARCH_MULTI_V7
|
|
select ARM_ERRATA_798181 if SMP
|
|
select HAVE_ARM_ARCH_TIMER
|
|
select MCPM if SMP
|
|
select MCPM_QUAD_CLUSTER if SMP
|
|
help
|
|
Support for Hisilicon HiP04 SoC family
|
|
|
|
config ARCH_HIX5HD2
|
|
bool "Hisilicon X5HD2 family" if ARCH_MULTI_V7
|
|
select CACHE_L2X0
|
|
select HAVE_ARM_SCU if SMP
|
|
select HAVE_ARM_TWD if SMP
|
|
select PINCTRL
|
|
select PINCTRL_SINGLE
|
|
help
|
|
Support for Hisilicon HIX5HD2 SoC family
|
|
endmenu
|
|
|
|
endif
|