blob: 70ab4a25a5f853d4d8dade14490618d2523fcd13 [file] [log] [blame]
Arnd Bergmann29341672015-11-25 17:32:19 +01001menuconfig ARCH_REALVIEW
Masahiro Yamadac65cd252016-01-25 20:42:44 +09002 bool "ARM Ltd. RealView family"
3 depends on ARCH_MULTI_V5 || ARCH_MULTI_V6 || ARCH_MULTI_V7
Arnd Bergmann29341672015-11-25 17:32:19 +01004 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
14if ARCH_REALVIEW
Catalin Marinas8ad68bb2005-10-31 14:25:02 +000015
Linus Walleijfa6e2ee2014-10-01 09:29:22 +020016config REALVIEW_DT
17 bool "Support RealView(R) Device Tree based boot"
18 select ARM_GIC
Linus Walleijca5b21f2015-10-08 11:09:31 +020019 select CLK_SP810
Linus Walleij5420b4b2015-10-09 13:38:57 +020020 select HAVE_SMP
Linus Walleijca5b21f2015-10-08 11:09:31 +020021 select ICST
Arnd Bergmann29341672015-11-25 17:32:19 +010022 select MACH_REALVIEW_EB if ARCH_MULTI_V5
Linus Walleijfa6e2ee2014-10-01 09:29:22 +020023 select MFD_SYSCON
24 select POWER_RESET
25 select POWER_RESET_VERSATILE
26 select POWER_SUPPLY
Arnd Bergmann2cb58c02015-12-31 23:51:02 +010027 select SMP_ON_UP if SMP
Linus Walleijfa6e2ee2014-10-01 09:29:22 +020028 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
Catalin Marinas8ad68bb2005-10-31 14:25:02 +000034config MACH_REALVIEW_EB
Russell Kingd2a1c9a2011-01-24 10:58:24 +000035 bool "Support RealView(R) Emulation Baseboard"
Catalin Marinas8ad68bb2005-10-31 14:25:02 +000036 select ARM_GIC
Arnd Bergmann29341672015-11-25 17:32:19 +010037 select CPU_ARM926T if ARCH_MULTI_V5
Catalin Marinas8ad68bb2005-10-31 14:25:02 +000038 help
Russell Kingd2a1c9a2011-01-24 10:58:24 +000039 Include support for the ARM(R) RealView(R) Emulation Baseboard
Arnd Bergmann29341672015-11-25 17:32:19 +010040 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
45config 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
53config 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.
Catalin Marinas8ad68bb2005-10-31 14:25:02 +000059
Jon Callan4c3ea372008-12-01 14:54:56 +000060config REALVIEW_EB_A9MP
Russell Kingd2a1c9a2011-01-24 10:58:24 +000061 bool "Support Multicore Cortex-A9 Tile"
Arnd Bergmann29341672015-11-25 17:32:19 +010062 depends on MACH_REALVIEW_EB && ARCH_MULTI_V7
Stephen Boyd4c3ffff2013-02-27 15:28:14 -080063 select HAVE_ARM_SCU if SMP
Stephen Boyda894fcc2013-02-15 16:02:20 -080064 select HAVE_ARM_TWD if SMP
Dave Martin3b556582011-12-07 15:38:04 +000065 select HAVE_SMP
Dave Martince5ea9f2011-11-29 15:56:19 +000066 select MIGHT_HAVE_CACHE_L2X0
Jon Callan4c3ea372008-12-01 14:54:56 +000067 help
Russell Kingd2a1c9a2011-01-24 10:58:24 +000068 Enable support for the Cortex-A9MPCore tile fitted to the
69 Realview(R) Emulation Baseboard platform.
Jon Callan4c3ea372008-12-01 14:54:56 +000070
Catalin Marinas41579f42008-02-04 17:47:04 +010071config REALVIEW_EB_ARM11MP
Russell Kingd2a1c9a2011-01-24 10:58:24 +000072 bool "Support ARM11MPCore Tile"
Arnd Bergmann29341672015-11-25 17:32:19 +010073 depends on MACH_REALVIEW_EB && ARCH_MULTI_V6
Stephen Boyd4c3ffff2013-02-27 15:28:14 -080074 select HAVE_ARM_SCU if SMP
Stephen Boyda894fcc2013-02-15 16:02:20 -080075 select HAVE_ARM_TWD if SMP
Dave Martin3b556582011-12-07 15:38:04 +000076 select HAVE_SMP
Dave Martince5ea9f2011-11-29 15:56:19 +000077 select MIGHT_HAVE_CACHE_L2X0
Russell King9b1283b2005-11-07 21:01:06 +000078 help
Russell Kingd2a1c9a2011-01-24 10:58:24 +000079 Enable support for the ARM11MPCore tile fitted to the Realview(R)
80 Emulation Baseboard platform.
Russell King9b1283b2005-11-07 21:01:06 +000081
Catalin Marinas41579f42008-02-04 17:47:04 +010082config REALVIEW_EB_ARM11MP_REVB
Russell Kingd2a1c9a2011-01-24 10:58:24 +000083 bool "Support ARM11MPCore RevB Tile"
Arnd Bergmann29341672015-11-25 17:32:19 +010084 depends on REALVIEW_EB_ARM11MP && ARCH_MULTI_V6
Catalin Marinas4b172442007-02-14 19:20:28 +010085 help
Russell Kingd2a1c9a2011-01-24 10:58:24 +000086 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.
Catalin Marinas4b172442007-02-14 19:20:28 +010090
Bahadir Balban78fdcb42008-04-18 22:43:14 +010091config MACH_REALVIEW_PB11MP
Russell Kingd2a1c9a2011-01-24 10:58:24 +000092 bool "Support RealView(R) Platform Baseboard for ARM11MPCore"
Arnd Bergmann29341672015-11-25 17:32:19 +010093 depends on ARCH_MULTI_V6
Bahadir Balban78fdcb42008-04-18 22:43:14 +010094 select ARM_GIC
Stephen Boyd4c3ffff2013-02-27 15:28:14 -080095 select HAVE_ARM_SCU if SMP
Stephen Boyda894fcc2013-02-15 16:02:20 -080096 select HAVE_ARM_TWD if SMP
Catalin Marinas6be62ba2009-02-12 15:59:21 +010097 select HAVE_PATA_PLATFORM
Dave Martin3b556582011-12-07 15:38:04 +000098 select HAVE_SMP
Dave Martince5ea9f2011-11-29 15:56:19 +000099 select MIGHT_HAVE_CACHE_L2X0
Bahadir Balban78fdcb42008-04-18 22:43:14 +0100100 help
Russell Kingd2a1c9a2011-01-24 10:58:24 +0000101 Include support for the ARM(R) RealView(R) Platform Baseboard for
102 the ARM11MPCore. This platform has an on-board ARM11MPCore and has
Bahadir Balban78fdcb42008-04-18 22:43:14 +0100103 support for PCI-E and Compact Flash.
104
Russell King74200e62011-01-17 18:23:31 +0000105# ARMv6 CPU without K extensions, but does have the new exclusive ops
Bahadir Balbanbc02c582008-04-18 22:43:16 +0100106config MACH_REALVIEW_PB1176
Russell Kingd2a1c9a2011-01-24 10:58:24 +0000107 bool "Support RealView(R) Platform Baseboard for ARM1176JZF-S"
Arnd Bergmann29341672015-11-25 17:32:19 +0100108 depends on ARCH_MULTI_V6
Bahadir Balbanbc02c582008-04-18 22:43:16 +0100109 select ARM_GIC
Russell Kingb1b3f492012-10-06 17:12:25 +0100110 select CPU_V6
Linus Walleijf022e4e2011-07-01 08:24:09 +0100111 select HAVE_TCM
Dave Martince5ea9f2011-11-29 15:56:19 +0000112 select MIGHT_HAVE_CACHE_L2X0
Bahadir Balbanbc02c582008-04-18 22:43:16 +0100113 help
Russell Kingd2a1c9a2011-01-24 10:58:24 +0000114 Include support for the ARM(R) RealView(R) Platform Baseboard for
115 ARM1176JZF-S.
Bahadir Balbanbc02c582008-04-18 22:43:16 +0100116
Catalin Marinasaf607742009-05-30 13:56:13 +0100117config 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
Bahadir Balbane7c70822008-12-01 14:54:55 +0000126config MACH_REALVIEW_PBA8
Russell Kingd2a1c9a2011-01-24 10:58:24 +0000127 bool "Support RealView(R) Platform Baseboard for Cortex(tm)-A8 platform"
Arnd Bergmann29341672015-11-25 17:32:19 +0100128 depends on ARCH_MULTI_V7
Bahadir Balbane7c70822008-12-01 14:54:55 +0000129 select ARM_GIC
Catalin Marinas6be62ba2009-02-12 15:59:21 +0100130 select HAVE_PATA_PLATFORM
Bahadir Balbane7c70822008-12-01 14:54:55 +0000131 help
Russell Kingd2a1c9a2011-01-24 10:58:24 +0000132 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.
Bahadir Balbane7c70822008-12-01 14:54:55 +0000135
Colin Tuckley1b504bb2009-05-30 13:56:12 +0100136config MACH_REALVIEW_PBX
Arnd Bergmann29341672015-11-25 17:32:19 +0100137 bool "Support RealView(R) Platform Baseboard Explore for Cortex-A9"
138 depends on ARCH_MULTI_V7
Colin Tuckley1b504bb2009-05-30 13:56:12 +0100139 select ARM_GIC
Stephen Boyd4c3ffff2013-02-27 15:28:14 -0800140 select HAVE_ARM_SCU if SMP
Stephen Boyda894fcc2013-02-15 16:02:20 -0800141 select HAVE_ARM_TWD if SMP
Colin Tuckley1b504bb2009-05-30 13:56:12 +0100142 select HAVE_PATA_PLATFORM
Dave Martin3b556582011-12-07 15:38:04 +0000143 select HAVE_SMP
Dave Martince5ea9f2011-11-29 15:56:19 +0000144 select MIGHT_HAVE_CACHE_L2X0
Arnd Bergmannfd0053c2015-11-25 17:32:14 +0100145 select ZONE_DMA
Colin Tuckley1b504bb2009-05-30 13:56:12 +0100146 help
Russell Kingd2a1c9a2011-01-24 10:58:24 +0000147 Include support for the ARM(R) RealView(R) Platform Baseboard
148 Explore.
Colin Tuckley1b504bb2009-05-30 13:56:12 +0100149
Catalin Marinas70bb62f2008-12-01 14:54:55 +0000150config REALVIEW_HIGH_PHYS_OFFSET
151 bool "High physical base address for the RealView platform"
Catalin Marinas0e0fe922009-07-24 12:35:05 +0100152 depends on MMU && !MACH_REALVIEW_PB1176
Catalin Marinas70bb62f2008-12-01 14:54:55 +0000153 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
Catalin Marinasc97c5aa2009-11-04 12:19:05 +0000159 offset. On the PBX board, disabling this option allows 1GB of
Arnd Bergmannfd0053c2015-11-25 17:32:14 +0100160 RAM to be used with HIGHMEM.
Catalin Marinas70bb62f2008-12-01 14:54:55 +0000161
Arnd Bergmann29341672015-11-25 17:32:19 +0100162endif