mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 04:06:43 +07: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>
94 lines
2.0 KiB
Plaintext
94 lines
2.0 KiB
Plaintext
config ARCH_U8500
|
|
bool "ST-Ericsson U8500 Series" if ARCH_MULTI_V7
|
|
depends on MMU
|
|
select ARCH_HAS_CPUFREQ
|
|
select ARCH_REQUIRE_GPIOLIB
|
|
select ARM_AMBA
|
|
select CLKDEV_LOOKUP
|
|
select CPU_V7
|
|
select GENERIC_CLOCKEVENTS
|
|
select HAVE_ARM_SCU if SMP
|
|
select HAVE_ARM_TWD if LOCAL_TIMERS
|
|
select HAVE_SMP
|
|
select MIGHT_HAVE_CACHE_L2X0
|
|
help
|
|
Support for ST-Ericsson's Ux500 architecture
|
|
|
|
if ARCH_U8500
|
|
|
|
config UX500_SOC_COMMON
|
|
bool
|
|
default y
|
|
select ARM_ERRATA_754322
|
|
select ARM_ERRATA_764369 if SMP
|
|
select ARM_GIC
|
|
select CACHE_L2X0
|
|
select CLKSRC_NOMADIK_MTU
|
|
select COMMON_CLK
|
|
select PINCTRL
|
|
select PINCTRL_NOMADIK
|
|
select PINCTRL_ABX500
|
|
select PL310_ERRATA_753970 if CACHE_PL310
|
|
|
|
config UX500_SOC_DB8500
|
|
bool
|
|
select CPU_FREQ_TABLE if CPU_FREQ
|
|
select MFD_DB8500_PRCMU
|
|
select PINCTRL_DB8500
|
|
select PINCTRL_DB8540
|
|
select PINCTRL_AB8500
|
|
select PINCTRL_AB8505
|
|
select PINCTRL_AB9540
|
|
select PINCTRL_AB8540
|
|
select REGULATOR
|
|
select REGULATOR_DB8500_PRCMU
|
|
|
|
menu "Ux500 target platform (boards)"
|
|
|
|
config MACH_MOP500
|
|
bool "U8500 Development platform, MOP500 versions"
|
|
select I2C
|
|
select I2C_NOMADIK
|
|
select REGULATOR_FIXED_VOLTAGE
|
|
select SOC_BUS
|
|
select UX500_SOC_DB8500
|
|
help
|
|
Include support for the MOP500 development platform.
|
|
|
|
config MACH_HREFV60
|
|
bool "U8500 Development platform, HREFv60 version"
|
|
select MACH_MOP500
|
|
help
|
|
Include support for the HREFv60 new development platform.
|
|
Includes HREFv70, v71 etc.
|
|
|
|
config MACH_SNOWBALL
|
|
bool "U8500 Snowball platform"
|
|
select MACH_MOP500
|
|
help
|
|
Include support for the snowball development platform.
|
|
|
|
config UX500_AUTO_PLATFORM
|
|
def_bool y
|
|
select MACH_MOP500
|
|
help
|
|
At least one platform needs to be selected in order to build
|
|
a working kernel. If everything else is disabled, this
|
|
automatically enables MACH_MOP500.
|
|
|
|
config MACH_UX500_DT
|
|
bool "Generic U8500 support using device tree"
|
|
depends on MACH_MOP500
|
|
select USE_OF
|
|
|
|
endmenu
|
|
|
|
config UX500_DEBUG_UART
|
|
int "Ux500 UART to use for low-level debug"
|
|
default 2
|
|
help
|
|
Choose the UART on which kernel low-level debug messages should be
|
|
output.
|
|
|
|
endif
|