mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 10:14:23 +08:00
4c3ffffdbc
The TWD and SCU configs are selected by default as long as MSM_SCORPIONMP is false and/or MCT is false. Implementing the logic this way certainly saves lines in the Kconfig but it precludes those machines which select MSM_SCORPIONMP or MCT from participating in the single zImage effort because when those machines are combined with other SMP capable machines the TWD and SCU are no longer selected by default. Push the select out to the machine entries so that we can compile these machines together and still select the appropriate configs. Cc: Barry Song <baohua.song@csr.com> Acked-by: David Brown <davidb@codeaurora.org> Cc: Kukjin Kim <kgene.kim@samsung.com> Cc: Linus Walleij <linus.walleij@linaro.org> Acked-by: Pawel Moll <pawel.moll@arm.com> Cc: Rob Herring <rob.herring@calxeda.com> Cc: Russell King <linux@arm.linux.org.uk> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Cc: Sascha Hauer <kernel@pengutronix.de> Cc: Shiraz Hashim <shiraz.hashim@st.com> Acked-by: Simon Horman <horms@verge.net.au> Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com> Cc: Stephen Warren <swarren@wwwdotorg.org> Cc: Tony Lindgren <tony@atomide.com> Acked-by: Viresh Kumar <viresh.linux@gmail.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
135 lines
2.2 KiB
Plaintext
135 lines
2.2 KiB
Plaintext
if ARCH_MSM
|
|
|
|
comment "Qualcomm MSM SoC Type"
|
|
depends on (ARCH_MSM8X60 || ARCH_MSM8960)
|
|
|
|
choice
|
|
prompt "Qualcomm MSM SoC Type"
|
|
default ARCH_MSM7X00A
|
|
depends on !(ARCH_MSM8X60 || ARCH_MSM8960)
|
|
|
|
config ARCH_MSM7X00A
|
|
bool "MSM7x00A / MSM7x01A"
|
|
select ARCH_MSM_ARM11
|
|
select CPU_V6
|
|
select GPIO_MSM_V1
|
|
select MACH_TROUT if !MACH_HALIBUT
|
|
select MSM_PROC_COMM
|
|
select MSM_SMD
|
|
select MSM_SMD_PKG3
|
|
|
|
config ARCH_MSM7X30
|
|
bool "MSM7x30"
|
|
select ARCH_MSM_SCORPION
|
|
select CPU_V7
|
|
select GPIO_MSM_V1
|
|
select MACH_MSM7X30_SURF # if !
|
|
select MSM_GPIOMUX
|
|
select MSM_PROC_COMM
|
|
select MSM_SMD
|
|
select MSM_VIC
|
|
|
|
config ARCH_QSD8X50
|
|
bool "QSD8X50"
|
|
select ARCH_MSM_SCORPION
|
|
select CPU_V7
|
|
select GPIO_MSM_V1
|
|
select MACH_QSD8X50_SURF if !MACH_QSD8X50A_ST1_5
|
|
select MSM_GPIOMUX
|
|
select MSM_PROC_COMM
|
|
select MSM_SMD
|
|
select MSM_VIC
|
|
|
|
endchoice
|
|
|
|
config ARCH_MSM8X60
|
|
bool "MSM8X60"
|
|
select ARM_GIC
|
|
select CPU_V7
|
|
select GPIO_MSM_V2
|
|
select HAVE_SMP
|
|
select MSM_GPIOMUX
|
|
select MSM_SCM if SMP
|
|
select MSM_V2_TLMM
|
|
select USE_OF
|
|
|
|
config ARCH_MSM8960
|
|
bool "MSM8960"
|
|
select ARM_GIC
|
|
select CPU_V7
|
|
select HAVE_SMP
|
|
select MSM_GPIOMUX
|
|
select MSM_SCM if SMP
|
|
select MSM_V2_TLMM
|
|
select USE_OF
|
|
|
|
config MSM_HAS_DEBUG_UART_HS
|
|
bool
|
|
|
|
config MSM_SOC_REV_A
|
|
bool
|
|
|
|
config ARCH_MSM_ARM11
|
|
bool
|
|
config ARCH_MSM_SCORPION
|
|
bool
|
|
|
|
config MSM_VIC
|
|
bool
|
|
|
|
menu "Qualcomm MSM Board Type"
|
|
|
|
config MACH_HALIBUT
|
|
depends on ARCH_MSM
|
|
depends on ARCH_MSM7X00A
|
|
bool "Halibut Board (QCT SURF7201A)"
|
|
help
|
|
Support for the Qualcomm SURF7201A eval board.
|
|
|
|
config MACH_TROUT
|
|
depends on ARCH_MSM
|
|
depends on ARCH_MSM7X00A
|
|
bool "HTC Dream (aka trout)"
|
|
help
|
|
Support for the HTC Dream, T-Mobile G1, Android ADP1 devices.
|
|
|
|
config MACH_MSM7X30_SURF
|
|
depends on ARCH_MSM7X30
|
|
bool "MSM7x30 SURF"
|
|
help
|
|
Support for the Qualcomm MSM7x30 SURF eval board.
|
|
|
|
config MACH_QSD8X50_SURF
|
|
depends on ARCH_QSD8X50
|
|
bool "QSD8x50 SURF"
|
|
help
|
|
Support for the Qualcomm QSD8x50 SURF eval board.
|
|
|
|
config MACH_QSD8X50A_ST1_5
|
|
depends on ARCH_QSD8X50
|
|
bool "QSD8x50A ST1.5"
|
|
select MSM_SOC_REV_A
|
|
help
|
|
Support for the Qualcomm ST1.5.
|
|
|
|
endmenu
|
|
|
|
config MSM_SMD_PKG3
|
|
bool
|
|
|
|
config MSM_PROC_COMM
|
|
bool
|
|
|
|
config MSM_SMD
|
|
bool
|
|
|
|
config MSM_GPIOMUX
|
|
bool
|
|
|
|
config MSM_V2_TLMM
|
|
bool
|
|
|
|
config MSM_SCM
|
|
bool
|
|
endif
|