ARM: centralize common multi-platform kconfig options
[platform/adaptation/renesas_rcar/renesas_kernel.git] / arch / arm / mach-ux500 / Kconfig
1 config ARCH_U8500
2         bool "ST-Ericsson U8500 Series" if ARCH_MULTI_V7
3         depends on MMU
4         select AB8500_CORE
5         select ABX500_CORE
6         select ARCH_HAS_CPUFREQ
7         select ARCH_REQUIRE_GPIOLIB
8         select ARM_AMBA
9         select ARM_ERRATA_754322
10         select ARM_ERRATA_764369 if SMP
11         select ARM_GIC
12         select CACHE_L2X0
13         select CLKSRC_NOMADIK_MTU
14         select HAVE_ARM_SCU if SMP
15         select HAVE_ARM_TWD if SMP
16         select HAVE_SMP
17         select MIGHT_HAVE_CACHE_L2X0
18         select PINCTRL
19         select PINCTRL_ABX500
20         select PINCTRL_NOMADIK
21         select PL310_ERRATA_753970 if CACHE_PL310
22         help
23           Support for ST-Ericsson's Ux500 architecture
24
25 if ARCH_U8500
26
27 config UX500_SOC_DB8500
28         bool
29         select MFD_DB8500_PRCMU
30         select PINCTRL_DB8500
31         select PINCTRL_DB8540
32         select PINCTRL_AB8500
33         select PINCTRL_AB8505
34         select PINCTRL_AB9540
35         select PINCTRL_AB8540
36         select REGULATOR
37         select REGULATOR_DB8500_PRCMU
38
39 menu "Ux500 target platform (boards)"
40
41 config MACH_MOP500
42         bool "U8500 Development platform, MOP500 versions"
43         select I2C
44         select I2C_NOMADIK
45         select REGULATOR
46         select REGULATOR_FIXED_VOLTAGE
47         select SOC_BUS
48         select UX500_SOC_DB8500
49         help
50           Include support for the MOP500 development platform.
51
52 config MACH_HREFV60
53         bool "U8500 Development platform, HREFv60 version"
54         select MACH_MOP500
55         help
56           Include support for the HREFv60 new development platform.
57           Includes HREFv70, v71 etc.
58
59 config MACH_SNOWBALL
60         bool "U8500 Snowball platform"
61         select MACH_MOP500
62         help
63           Include support for the snowball development platform.
64
65 config UX500_AUTO_PLATFORM
66         def_bool y
67         select MACH_MOP500
68         help
69           At least one platform needs to be selected in order to build
70           a working kernel. If everything else is disabled, this
71           automatically enables MACH_MOP500.
72
73 config MACH_UX500_DT
74         bool "Generic U8500 support using device tree"
75         depends on MACH_MOP500
76
77 endmenu
78
79 config UX500_DEBUG_UART
80         int "Ux500 UART to use for low-level debug"
81         default 2
82         help
83           Choose the UART on which kernel low-level debug messages should be
84           output.
85
86 endif