Merge tag 'arm64-perf' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
[cascardo/linux.git] / arch / arm / mach-realview / Kconfig
1 menuconfig ARCH_REALVIEW
2         bool "ARM Ltd. RealView family"
3         depends on ARCH_MULTI_V5 || ARCH_MULTI_V6 || ARCH_MULTI_V7
4         select ARM_AMBA
5         select ARM_TIMER_SP804
6         select COMMON_CLK_VERSATILE
7         select GPIO_PL061 if GPIOLIB
8         select ICST
9         select PLAT_VERSATILE
10         select PLAT_VERSATILE_SCHED_CLOCK
11         help
12           This enables support for ARM Ltd RealView boards.
13
14 if ARCH_REALVIEW
15
16 config REALVIEW_DT
17         bool "Support RealView(R) Device Tree based boot"
18         select ARM_GIC
19         select CLK_SP810
20         select HAVE_SMP
21         select ICST
22         select MACH_REALVIEW_EB if ARCH_MULTI_V5
23         select MFD_SYSCON
24         select POWER_RESET
25         select POWER_RESET_VERSATILE
26         select POWER_SUPPLY
27         select SMP_ON_UP if SMP
28         select SOC_REALVIEW
29         select USE_OF
30         help
31           Include support for booting the ARM(R) RealView(R) evaluation
32           boards using a device tree machine description.
33
34 config MACH_REALVIEW_EB
35         bool "Support RealView(R) Emulation Baseboard"
36         select ARM_GIC
37         select CPU_ARM926T if ARCH_MULTI_V5
38         help
39           Include support for the ARM(R) RealView(R) Emulation Baseboard
40           platform. On an ARMv5 kernel, this will include support for
41           the ARM926EJ-S core tile, while on an ARMv6/v7 kernel, at least
42           one of the ARM1136, ARM1176, ARM11MPCore or Cortex-A9MPCore
43           core tile options should be enabled.
44
45 config REALVIEW_EB_ARM1136
46         bool "Support ARM1136J(F)-S Tile"
47         depends on MACH_REALVIEW_EB && ARCH_MULTI_V6
48         select CPU_V6
49         help
50           Enable support for the ARM1136 tile fitted to the
51           Realview(R) Emulation Baseboard platform.
52
53 config REALVIEW_EB_ARM1176
54         bool "Support ARM1176JZ(F)-S Tile"
55         depends on MACH_REALVIEW_EB && ARCH_MULTI_V6
56         help
57           Enable support for the ARM1176 tile fitted to the
58           Realview(R) Emulation Baseboard platform.
59
60 config REALVIEW_EB_A9MP
61         bool "Support Multicore Cortex-A9 Tile"
62         depends on MACH_REALVIEW_EB && ARCH_MULTI_V7
63         select HAVE_ARM_SCU if SMP
64         select HAVE_ARM_TWD if SMP
65         select HAVE_SMP
66         select MIGHT_HAVE_CACHE_L2X0
67         help
68           Enable support for the Cortex-A9MPCore tile fitted to the
69           Realview(R) Emulation Baseboard platform.
70
71 config REALVIEW_EB_ARM11MP
72         bool "Support ARM11MPCore Tile"
73         depends on MACH_REALVIEW_EB && ARCH_MULTI_V6
74         select HAVE_ARM_SCU if SMP
75         select HAVE_ARM_TWD if SMP
76         select HAVE_SMP
77         select MIGHT_HAVE_CACHE_L2X0
78         help
79           Enable support for the ARM11MPCore tile fitted to the Realview(R)
80           Emulation Baseboard platform.
81
82 config REALVIEW_EB_ARM11MP_REVB
83         bool "Support ARM11MPCore RevB Tile"
84         depends on REALVIEW_EB_ARM11MP && ARCH_MULTI_V6
85         help
86           Enable support for the ARM11MPCore Revision B tile on the
87           Realview(R) Emulation Baseboard platform. Since there are device
88           address differences, a kernel built with this option enabled is
89           not compatible with other revisions of the ARM11MPCore tile.
90
91 config MACH_REALVIEW_PB11MP
92         bool "Support RealView(R) Platform Baseboard for ARM11MPCore"
93         depends on ARCH_MULTI_V6
94         select ARM_GIC
95         select HAVE_ARM_SCU if SMP
96         select HAVE_ARM_TWD if SMP
97         select HAVE_PATA_PLATFORM
98         select HAVE_SMP
99         select MIGHT_HAVE_CACHE_L2X0
100         help
101           Include support for the ARM(R) RealView(R) Platform Baseboard for
102           the ARM11MPCore.  This platform has an on-board ARM11MPCore and has
103           support for PCI-E and Compact Flash.
104
105 # ARMv6 CPU without K extensions, but does have the new exclusive ops
106 config MACH_REALVIEW_PB1176
107         bool "Support RealView(R) Platform Baseboard for ARM1176JZF-S"
108         depends on ARCH_MULTI_V6
109         select ARM_GIC
110         select CPU_V6
111         select HAVE_TCM
112         select MIGHT_HAVE_CACHE_L2X0
113         help
114           Include support for the ARM(R) RealView(R) Platform Baseboard for
115           ARM1176JZF-S.
116
117 config REALVIEW_PB1176_SECURE_FLASH
118         bool "Allow access to the secure flash memory block"
119         depends on MACH_REALVIEW_PB1176
120         default n
121         help
122           Select this option if Linux will only run in secure mode on the
123           RealView PB1176 platform and access to the secure flash memory
124           block (64MB @ 0x3c000000) is required.
125
126 config MACH_REALVIEW_PBA8
127         bool "Support RealView(R) Platform Baseboard for Cortex(tm)-A8 platform"
128         depends on ARCH_MULTI_V7
129         select ARM_GIC
130         select HAVE_PATA_PLATFORM
131         help
132           Include support for the ARM(R) RealView Platform Baseboard for
133           Cortex(tm)-A8.  This platform has an on-board Cortex-A8 and has
134           support for PCI-E and Compact Flash.
135
136 config MACH_REALVIEW_PBX
137         bool "Support RealView(R) Platform Baseboard Explore for Cortex-A9"
138         depends on ARCH_MULTI_V7
139         select ARM_GIC
140         select HAVE_ARM_SCU if SMP
141         select HAVE_ARM_TWD if SMP
142         select HAVE_PATA_PLATFORM
143         select HAVE_SMP
144         select MIGHT_HAVE_CACHE_L2X0
145         select ZONE_DMA
146         help
147           Include support for the ARM(R) RealView(R) Platform Baseboard
148           Explore.
149
150 config REALVIEW_HIGH_PHYS_OFFSET
151         bool "High physical base address for the RealView platform"
152         depends on MMU && !MACH_REALVIEW_PB1176
153         default y
154         help
155           RealView boards other than PB1176 have the RAM available at
156           0x70000000, 256MB of which being mirrored at 0x00000000. If
157           the board supports 512MB of RAM, this option allows the
158           memory to be accessed contiguously at the high physical
159           offset. On the PBX board, disabling this option allows 1GB of
160           RAM to be used with HIGHMEM.
161
162 endif