2014-06-10 21:06:10 +07:00
|
|
|
menuconfig ARCH_VEXPRESS
|
ARM: use "depends on" for SoC configs instead of "if" after prompt
Many ARM sub-architectures use prompts followed by "if" conditional,
but it is wrong.
Please notice the difference between
config ARCH_FOO
bool "Foo SoCs" if ARCH_MULTI_V7
and
config ARCH_FOO
bool "Foo SoCs"
depends on ARCH_MULTI_V7
These two are *not* equivalent!
In the former statement, it is not ARCH_FOO, but its prompt that
depends on ARCH_MULTI_V7. So, it is completely valid that ARCH_FOO
is selected by another, but ARCH_MULTI_V7 is still disabled. As it is
not unmet dependency, Kconfig never warns. This is probably not what
you want.
The former should be used only when you need to do so, and you really
understand what you are doing. (In most cases, it should be wrong!)
For enabling/disabling sub-architectures, the latter is always correct.
As a good side effect, this commit fixes some entries over 80 columns
(mach-imx, mach-integrator, mach-mbevu).
[Arnd: I note that there is not really a bug here, according to
the discussion that followed, but I can see value in being consistent
and in making the lines shorter]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Jun Nie <jun.nie@linaro.org>
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Krzysztof Halasa <khc@piap.pl>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-11-16 10:06:10 +07:00
|
|
|
bool "ARM Ltd. Versatile Express family"
|
|
|
|
depends on ARCH_MULTI_V7
|
2013-05-29 03:34:50 +07:00
|
|
|
select ARCH_SUPPORTS_BIG_ENDIAN
|
2012-09-07 01:43:04 +07:00
|
|
|
select ARM_AMBA
|
2010-03-01 00:26:25 +07:00
|
|
|
select ARM_GIC
|
2014-03-14 17:18:22 +07:00
|
|
|
select ARM_GLOBAL_TIMER
|
2012-09-07 01:43:04 +07:00
|
|
|
select ARM_TIMER_SP804
|
2012-10-09 18:56:36 +07:00
|
|
|
select COMMON_CLK_VERSATILE
|
2016-06-02 19:10:16 +07:00
|
|
|
select GPIOLIB
|
2013-02-28 06:28:14 +07:00
|
|
|
select HAVE_ARM_SCU if SMP
|
2013-02-16 07:02:20 +07:00
|
|
|
select HAVE_ARM_TWD if SMP
|
2012-09-07 01:43:04 +07:00
|
|
|
select HAVE_PATA_PLATFORM
|
|
|
|
select ICST
|
2014-04-08 05:39:19 +07:00
|
|
|
select NO_IOPORT_MAP
|
2012-09-07 01:43:04 +07:00
|
|
|
select PLAT_VERSATILE
|
2013-01-15 18:24:14 +07:00
|
|
|
select POWER_RESET
|
|
|
|
select POWER_RESET_VEXPRESS
|
|
|
|
select POWER_SUPPLY
|
2014-11-28 23:44:31 +07:00
|
|
|
select REGULATOR if MMC_ARMMMCI
|
2012-09-07 01:43:04 +07:00
|
|
|
select REGULATOR_FIXED_VOLTAGE if REGULATOR
|
2012-10-09 18:56:36 +07:00
|
|
|
select VEXPRESS_CONFIG
|
2014-05-26 22:25:22 +07:00
|
|
|
select VEXPRESS_SYSCFG
|
|
|
|
select MFD_VEXPRESS_SYSREG
|
2012-02-23 20:04:51 +07:00
|
|
|
help
|
|
|
|
This option enables support for systems using Cortex processor based
|
|
|
|
ARM core and logic (FPGA) tiles on the Versatile Express motherboard,
|
|
|
|
for example:
|
|
|
|
|
|
|
|
- CoreTile Express A5x2 (V2P-CA5s)
|
|
|
|
- CoreTile Express A9x4 (V2P-CA9)
|
|
|
|
- CoreTile Express A15x2 (V2P-CA15)
|
|
|
|
- LogicTile Express 13MG (V2F-2XV6) with A5, A7, A9 or A15 SMMs
|
|
|
|
(Soft Macrocell Models)
|
|
|
|
- Versatile Express RTSMs (Models)
|
|
|
|
|
|
|
|
You must boot using a Flattened Device Tree in order to use these
|
|
|
|
platforms. The traditional (ATAGs) boot method is not usable on
|
|
|
|
these boards with this option.
|
|
|
|
|
2014-06-10 21:06:10 +07:00
|
|
|
if ARCH_VEXPRESS
|
2012-09-07 01:43:04 +07:00
|
|
|
|
|
|
|
config ARCH_VEXPRESS_CORTEX_A5_A9_ERRATA
|
|
|
|
bool "Enable A5 and A9 only errata work-arounds"
|
|
|
|
default y
|
2015-04-02 21:38:18 +07:00
|
|
|
select ARM_ERRATA_643719 if SMP
|
2012-09-07 01:43:04 +07:00
|
|
|
select ARM_ERRATA_720789
|
2014-06-19 16:19:10 +07:00
|
|
|
select PL310_ERRATA_753970 if CACHE_L2X0
|
2012-09-07 01:43:04 +07:00
|
|
|
help
|
|
|
|
Provides common dependencies for Versatile Express platforms
|
|
|
|
based on Cortex-A5 and Cortex-A9 processors. In order to
|
|
|
|
build a working kernel, you must also enable relevant core
|
|
|
|
tile support or Flattened Device Tree based support options.
|
|
|
|
|
2012-05-03 07:56:52 +07:00
|
|
|
config ARCH_VEXPRESS_DCSCB
|
|
|
|
bool "Dual Cluster System Control Block (DCSCB) support"
|
|
|
|
depends on MCPM
|
2015-03-18 19:24:41 +07:00
|
|
|
select ARM_CCI400_PORT_CTRL
|
2012-05-03 07:56:52 +07:00
|
|
|
help
|
|
|
|
Support for the Dual Cluster System Configuration Block (DCSCB).
|
|
|
|
This is needed to provide CPU and cluster power management
|
|
|
|
on RTSM implementing big.LITTLE.
|
|
|
|
|
2013-10-29 19:18:37 +07:00
|
|
|
config ARCH_VEXPRESS_SPC
|
|
|
|
bool "Versatile Express Serial Power Controller (SPC)"
|
|
|
|
select PM_OPP
|
|
|
|
help
|
|
|
|
The TC2 (A15x2 A7x3) versatile express core tile integrates a logic
|
|
|
|
block called Serial Power Controller (SPC) that provides the interface
|
|
|
|
between the dual cluster test-chip and the M3 microcontroller that
|
|
|
|
carries out power management.
|
|
|
|
|
2013-08-07 01:10:08 +07:00
|
|
|
config ARCH_VEXPRESS_TC2_PM
|
|
|
|
bool "Versatile Express TC2 power management"
|
|
|
|
depends on MCPM
|
2015-03-18 19:24:41 +07:00
|
|
|
select ARM_CCI400_PORT_CTRL
|
2013-10-29 19:18:37 +07:00
|
|
|
select ARCH_VEXPRESS_SPC
|
2015-02-05 19:42:43 +07:00
|
|
|
select ARM_CPU_SUSPEND
|
2013-08-07 01:10:08 +07:00
|
|
|
help
|
|
|
|
Support for CPU and cluster power management on Versatile Express
|
|
|
|
with a TC2 (A15x2 A7x3) big.LITTLE core tile.
|
|
|
|
|
2014-06-10 21:06:10 +07:00
|
|
|
endif
|