ARM: l2x0/pl310: Refactor Kconfig to be more maintainable
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-realview / Kconfig
1 menu "RealView platform type"
2         depends on ARCH_REALVIEW
3
4 config MACH_REALVIEW_EB
5         bool "Support RealView(R) Emulation Baseboard"
6         select ARM_GIC
7         help
8           Include support for the ARM(R) RealView(R) Emulation Baseboard
9           platform.
10
11 config REALVIEW_EB_A9MP
12         bool "Support Multicore Cortex-A9 Tile"
13         depends on MACH_REALVIEW_EB
14         select CPU_V7
15         select MIGHT_HAVE_CACHE_L2X0
16         help
17           Enable support for the Cortex-A9MPCore tile fitted to the
18           Realview(R) Emulation Baseboard platform.
19
20 config REALVIEW_EB_ARM11MP
21         bool "Support ARM11MPCore Tile"
22         depends on MACH_REALVIEW_EB
23         select CPU_V6K
24         select ARCH_HAS_BARRIERS if SMP
25         select MIGHT_HAVE_CACHE_L2X0
26         help
27           Enable support for the ARM11MPCore tile fitted to the Realview(R)
28           Emulation Baseboard platform.
29
30 config REALVIEW_EB_ARM11MP_REVB
31         bool "Support ARM11MPCore RevB Tile"
32         depends on REALVIEW_EB_ARM11MP
33         help
34           Enable support for the ARM11MPCore Revision B tile on the
35           Realview(R) Emulation Baseboard platform. Since there are device
36           address differences, a kernel built with this option enabled is
37           not compatible with other revisions of the ARM11MPCore tile.
38
39 config MACH_REALVIEW_PB11MP
40         bool "Support RealView(R) Platform Baseboard for ARM11MPCore"
41         select CPU_V6K
42         select ARM_GIC
43         select HAVE_PATA_PLATFORM
44         select MIGHT_HAVE_CACHE_L2X0
45         select ARCH_HAS_BARRIERS if SMP
46         help
47           Include support for the ARM(R) RealView(R) Platform Baseboard for
48           the ARM11MPCore.  This platform has an on-board ARM11MPCore and has
49           support for PCI-E and Compact Flash.
50
51 # ARMv6 CPU without K extensions, but does have the new exclusive ops
52 config MACH_REALVIEW_PB1176
53         bool "Support RealView(R) Platform Baseboard for ARM1176JZF-S"
54         select CPU_V6
55         select ARM_GIC
56         select HAVE_TCM
57         select MIGHT_HAVE_CACHE_L2X0
58         help
59           Include support for the ARM(R) RealView(R) Platform Baseboard for
60           ARM1176JZF-S.
61
62 config REALVIEW_PB1176_SECURE_FLASH
63         bool "Allow access to the secure flash memory block"
64         depends on MACH_REALVIEW_PB1176
65         default n
66         help
67           Select this option if Linux will only run in secure mode on the
68           RealView PB1176 platform and access to the secure flash memory
69           block (64MB @ 0x3c000000) is required.
70
71 config MACH_REALVIEW_PBA8
72         bool "Support RealView(R) Platform Baseboard for Cortex(tm)-A8 platform"
73         select CPU_V7
74         select ARM_GIC
75         select HAVE_PATA_PLATFORM
76         help
77           Include support for the ARM(R) RealView Platform Baseboard for
78           Cortex(tm)-A8.  This platform has an on-board Cortex-A8 and has
79           support for PCI-E and Compact Flash.
80
81 config MACH_REALVIEW_PBX
82         bool "Support RealView(R) Platform Baseboard Explore"
83         select ARM_GIC
84         select HAVE_PATA_PLATFORM
85         select MIGHT_HAVE_CACHE_L2X0
86         select ARCH_SPARSEMEM_ENABLE if CPU_V7 && !REALVIEW_HIGH_PHYS_OFFSET
87         select ZONE_DMA if SPARSEMEM
88         help
89           Include support for the ARM(R) RealView(R) Platform Baseboard
90           Explore.
91
92 config REALVIEW_HIGH_PHYS_OFFSET
93         bool "High physical base address for the RealView platform"
94         depends on MMU && !MACH_REALVIEW_PB1176
95         default y
96         help
97           RealView boards other than PB1176 have the RAM available at
98           0x70000000, 256MB of which being mirrored at 0x00000000. If
99           the board supports 512MB of RAM, this option allows the
100           memory to be accessed contiguously at the high physical
101           offset. On the PBX board, disabling this option allows 1GB of
102           RAM to be used with SPARSEMEM.
103
104 endmenu