2015-11-26 00:32:19 +08:00
|
|
|
menuconfig ARCH_REALVIEW
|
|
|
|
bool "ARM Ltd. RealView family" if ARCH_MULTI_V5 || ARCH_MULTI_V6 || ARCH_MULTI_V7
|
|
|
|
select ARM_AMBA
|
|
|
|
select ARM_TIMER_SP804
|
|
|
|
select COMMON_CLK_VERSATILE
|
|
|
|
select GPIO_PL061 if GPIOLIB
|
|
|
|
select ICST
|
|
|
|
select PLAT_VERSATILE
|
|
|
|
select PLAT_VERSATILE_SCHED_CLOCK
|
|
|
|
help
|
|
|
|
This enables support for ARM Ltd RealView boards.
|
|
|
|
|
|
|
|
if ARCH_REALVIEW
|
2005-10-31 22:25:02 +08:00
|
|
|
|
2014-10-01 15:29:22 +08:00
|
|
|
config REALVIEW_DT
|
|
|
|
bool "Support RealView(R) Device Tree based boot"
|
|
|
|
select ARM_GIC
|
2015-10-08 17:09:31 +08:00
|
|
|
select CLK_SP810
|
2015-10-09 19:38:57 +08:00
|
|
|
select HAVE_SMP
|
2015-10-08 17:09:31 +08:00
|
|
|
select ICST
|
2015-11-26 00:32:19 +08:00
|
|
|
select MACH_REALVIEW_EB if ARCH_MULTI_V5
|
2014-10-01 15:29:22 +08:00
|
|
|
select MFD_SYSCON
|
|
|
|
select POWER_RESET
|
|
|
|
select POWER_RESET_VERSATILE
|
|
|
|
select POWER_SUPPLY
|
2016-01-01 06:51:02 +08:00
|
|
|
select SMP_ON_UP if SMP
|
2014-10-01 15:29:22 +08:00
|
|
|
select SOC_REALVIEW
|
|
|
|
select USE_OF
|
|
|
|
help
|
|
|
|
Include support for booting the ARM(R) RealView(R) evaluation
|
|
|
|
boards using a device tree machine description.
|
|
|
|
|
2005-10-31 22:25:02 +08:00
|
|
|
config MACH_REALVIEW_EB
|
2011-01-24 18:58:24 +08:00
|
|
|
bool "Support RealView(R) Emulation Baseboard"
|
2005-10-31 22:25:02 +08:00
|
|
|
select ARM_GIC
|
2015-11-26 00:32:19 +08:00
|
|
|
select CPU_ARM926T if ARCH_MULTI_V5
|
2005-10-31 22:25:02 +08:00
|
|
|
help
|
2011-01-24 18:58:24 +08:00
|
|
|
Include support for the ARM(R) RealView(R) Emulation Baseboard
|
2015-11-26 00:32:19 +08:00
|
|
|
platform. On an ARMv5 kernel, this will include support for
|
|
|
|
the ARM926EJ-S core tile, while on an ARMv6/v7 kernel, at least
|
|
|
|
one of the ARM1136, ARM1176, ARM11MPCore or Cortex-A9MPCore
|
|
|
|
core tile options should be enabled.
|
|
|
|
|
|
|
|
config REALVIEW_EB_ARM1136
|
|
|
|
bool "Support ARM1136J(F)-S Tile"
|
|
|
|
depends on MACH_REALVIEW_EB && ARCH_MULTI_V6
|
|
|
|
select CPU_V6
|
|
|
|
help
|
|
|
|
Enable support for the ARM1136 tile fitted to the
|
|
|
|
Realview(R) Emulation Baseboard platform.
|
|
|
|
|
|
|
|
config REALVIEW_EB_ARM1176
|
|
|
|
bool "Support ARM1176JZ(F)-S Tile"
|
|
|
|
depends on MACH_REALVIEW_EB && ARCH_MULTI_V6
|
|
|
|
help
|
|
|
|
Enable support for the ARM1176 tile fitted to the
|
|
|
|
Realview(R) Emulation Baseboard platform.
|
2005-10-31 22:25:02 +08:00
|
|
|
|
2008-12-01 22:54:56 +08:00
|
|
|
config REALVIEW_EB_A9MP
|
2011-01-24 18:58:24 +08:00
|
|
|
bool "Support Multicore Cortex-A9 Tile"
|
2015-11-26 00:32:19 +08:00
|
|
|
depends on MACH_REALVIEW_EB && ARCH_MULTI_V7
|
2013-02-28 07:28:14 +08:00
|
|
|
select HAVE_ARM_SCU if SMP
|
2013-02-16 08:02:20 +08:00
|
|
|
select HAVE_ARM_TWD if SMP
|
2011-12-07 23:38:04 +08:00
|
|
|
select HAVE_SMP
|
2011-11-29 23:56:19 +08:00
|
|
|
select MIGHT_HAVE_CACHE_L2X0
|
2008-12-01 22:54:56 +08:00
|
|
|
help
|
2011-01-24 18:58:24 +08:00
|
|
|
Enable support for the Cortex-A9MPCore tile fitted to the
|
|
|
|
Realview(R) Emulation Baseboard platform.
|
2008-12-01 22:54:56 +08:00
|
|
|
|
2008-02-05 00:47:04 +08:00
|
|
|
config REALVIEW_EB_ARM11MP
|
2011-01-24 18:58:24 +08:00
|
|
|
bool "Support ARM11MPCore Tile"
|
2015-11-26 00:32:19 +08:00
|
|
|
depends on MACH_REALVIEW_EB && ARCH_MULTI_V6
|
2013-02-28 07:28:14 +08:00
|
|
|
select HAVE_ARM_SCU if SMP
|
2013-02-16 08:02:20 +08:00
|
|
|
select HAVE_ARM_TWD if SMP
|
2011-12-07 23:38:04 +08:00
|
|
|
select HAVE_SMP
|
2011-11-29 23:56:19 +08:00
|
|
|
select MIGHT_HAVE_CACHE_L2X0
|
2005-11-08 05:01:06 +08:00
|
|
|
help
|
2011-01-24 18:58:24 +08:00
|
|
|
Enable support for the ARM11MPCore tile fitted to the Realview(R)
|
|
|
|
Emulation Baseboard platform.
|
2005-11-08 05:01:06 +08:00
|
|
|
|
2008-02-05 00:47:04 +08:00
|
|
|
config REALVIEW_EB_ARM11MP_REVB
|
2011-01-24 18:58:24 +08:00
|
|
|
bool "Support ARM11MPCore RevB Tile"
|
2015-11-26 00:32:19 +08:00
|
|
|
depends on REALVIEW_EB_ARM11MP && ARCH_MULTI_V6
|
2007-02-15 02:20:28 +08:00
|
|
|
help
|
2011-01-24 18:58:24 +08:00
|
|
|
Enable support for the ARM11MPCore Revision B tile on the
|
|
|
|
Realview(R) Emulation Baseboard platform. Since there are device
|
|
|
|
address differences, a kernel built with this option enabled is
|
|
|
|
not compatible with other revisions of the ARM11MPCore tile.
|
2007-02-15 02:20:28 +08:00
|
|
|
|
2008-04-19 05:43:14 +08:00
|
|
|
config MACH_REALVIEW_PB11MP
|
2011-01-24 18:58:24 +08:00
|
|
|
bool "Support RealView(R) Platform Baseboard for ARM11MPCore"
|
2015-11-26 00:32:19 +08:00
|
|
|
depends on ARCH_MULTI_V6
|
2008-04-19 05:43:14 +08:00
|
|
|
select ARM_GIC
|
2013-02-28 07:28:14 +08:00
|
|
|
select HAVE_ARM_SCU if SMP
|
2013-02-16 08:02:20 +08:00
|
|
|
select HAVE_ARM_TWD if SMP
|
2009-02-12 22:59:21 +08:00
|
|
|
select HAVE_PATA_PLATFORM
|
2011-12-07 23:38:04 +08:00
|
|
|
select HAVE_SMP
|
2011-11-29 23:56:19 +08:00
|
|
|
select MIGHT_HAVE_CACHE_L2X0
|
2008-04-19 05:43:14 +08:00
|
|
|
help
|
2011-01-24 18:58:24 +08:00
|
|
|
Include support for the ARM(R) RealView(R) Platform Baseboard for
|
|
|
|
the ARM11MPCore. This platform has an on-board ARM11MPCore and has
|
2008-04-19 05:43:14 +08:00
|
|
|
support for PCI-E and Compact Flash.
|
|
|
|
|
2011-01-18 02:23:31 +08:00
|
|
|
# ARMv6 CPU without K extensions, but does have the new exclusive ops
|
2008-04-19 05:43:16 +08:00
|
|
|
config MACH_REALVIEW_PB1176
|
2011-01-24 18:58:24 +08:00
|
|
|
bool "Support RealView(R) Platform Baseboard for ARM1176JZF-S"
|
2015-11-26 00:32:19 +08:00
|
|
|
depends on ARCH_MULTI_V6
|
2008-04-19 05:43:16 +08:00
|
|
|
select ARM_GIC
|
ARM: config: sort select statements alphanumerically
As suggested by Andrew Morton:
This is a pet peeve of mine. Any time there's a long list of items
(header file inclusions, kconfig entries, array initalisers, etc) and
someone wants to add a new item, they *always* go and stick it at the
end of the list.
Guys, don't do this. Either put the new item into a randomly-chosen
position or, probably better, alphanumerically sort the list.
lets sort all our select statements alphanumerically. This commit was
created by the following perl:
while (<>) {
while (/\\\s*$/) {
$_ .= <>;
}
undef %selects if /^\s*config\s+/;
if (/^\s+select\s+(\w+).*/) {
if (defined($selects{$1})) {
if ($selects{$1} eq $_) {
print STDERR "Warning: removing duplicated $1 entry\n";
} else {
print STDERR "Error: $1 differently selected\n".
"\tOld: $selects{$1}\n".
"\tNew: $_\n";
exit 1;
}
}
$selects{$1} = $_;
next;
}
if (%selects and (/^\s*$/ or /^\s+help/ or /^\s+---help---/ or
/^endif/ or /^endchoice/)) {
foreach $k (sort (keys %selects)) {
print "$selects{$k}";
}
undef %selects;
}
print;
}
if (%selects) {
foreach $k (sort (keys %selects)) {
print "$selects{$k}";
}
}
It found two duplicates:
Warning: removing duplicated S5P_SETUP_MIPIPHY entry
Warning: removing duplicated HARDIRQS_SW_RESEND entry
and they are identical duplicates, hence the shrinkage in the diffstat
of two lines.
We have four testers reporting success of this change (Tony, Stephen,
Linus and Sekhar.)
Acked-by: Jason Cooper <jason@lakedaemon.net>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2012-10-07 00:12:25 +08:00
|
|
|
select CPU_V6
|
2011-07-01 15:24:09 +08:00
|
|
|
select HAVE_TCM
|
2011-11-29 23:56:19 +08:00
|
|
|
select MIGHT_HAVE_CACHE_L2X0
|
2008-04-19 05:43:16 +08:00
|
|
|
help
|
2011-01-24 18:58:24 +08:00
|
|
|
Include support for the ARM(R) RealView(R) Platform Baseboard for
|
|
|
|
ARM1176JZF-S.
|
2008-04-19 05:43:16 +08:00
|
|
|
|
2009-05-30 20:56:13 +08:00
|
|
|
config REALVIEW_PB1176_SECURE_FLASH
|
|
|
|
bool "Allow access to the secure flash memory block"
|
|
|
|
depends on MACH_REALVIEW_PB1176
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Select this option if Linux will only run in secure mode on the
|
|
|
|
RealView PB1176 platform and access to the secure flash memory
|
|
|
|
block (64MB @ 0x3c000000) is required.
|
|
|
|
|
2008-12-01 22:54:55 +08:00
|
|
|
config MACH_REALVIEW_PBA8
|
2011-01-24 18:58:24 +08:00
|
|
|
bool "Support RealView(R) Platform Baseboard for Cortex(tm)-A8 platform"
|
2015-11-26 00:32:19 +08:00
|
|
|
depends on ARCH_MULTI_V7
|
2008-12-01 22:54:55 +08:00
|
|
|
select ARM_GIC
|
2009-02-12 22:59:21 +08:00
|
|
|
select HAVE_PATA_PLATFORM
|
2008-12-01 22:54:55 +08:00
|
|
|
help
|
2011-01-24 18:58:24 +08:00
|
|
|
Include support for the ARM(R) RealView Platform Baseboard for
|
|
|
|
Cortex(tm)-A8. This platform has an on-board Cortex-A8 and has
|
|
|
|
support for PCI-E and Compact Flash.
|
2008-12-01 22:54:55 +08:00
|
|
|
|
2009-05-30 20:56:12 +08:00
|
|
|
config MACH_REALVIEW_PBX
|
2015-11-26 00:32:19 +08:00
|
|
|
bool "Support RealView(R) Platform Baseboard Explore for Cortex-A9"
|
|
|
|
depends on ARCH_MULTI_V7
|
2009-05-30 20:56:12 +08:00
|
|
|
select ARM_GIC
|
2013-02-28 07:28:14 +08:00
|
|
|
select HAVE_ARM_SCU if SMP
|
2013-02-16 08:02:20 +08:00
|
|
|
select HAVE_ARM_TWD if SMP
|
2009-05-30 20:56:12 +08:00
|
|
|
select HAVE_PATA_PLATFORM
|
2011-12-07 23:38:04 +08:00
|
|
|
select HAVE_SMP
|
2011-11-29 23:56:19 +08:00
|
|
|
select MIGHT_HAVE_CACHE_L2X0
|
2015-11-26 00:32:14 +08:00
|
|
|
select ZONE_DMA
|
2009-05-30 20:56:12 +08:00
|
|
|
help
|
2011-01-24 18:58:24 +08:00
|
|
|
Include support for the ARM(R) RealView(R) Platform Baseboard
|
|
|
|
Explore.
|
2009-05-30 20:56:12 +08:00
|
|
|
|
2008-12-01 22:54:55 +08:00
|
|
|
config REALVIEW_HIGH_PHYS_OFFSET
|
|
|
|
bool "High physical base address for the RealView platform"
|
2009-07-24 19:35:05 +08:00
|
|
|
depends on MMU && !MACH_REALVIEW_PB1176
|
2008-12-01 22:54:55 +08:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
RealView boards other than PB1176 have the RAM available at
|
|
|
|
0x70000000, 256MB of which being mirrored at 0x00000000. If
|
|
|
|
the board supports 512MB of RAM, this option allows the
|
|
|
|
memory to be accessed contiguously at the high physical
|
2009-11-04 20:19:05 +08:00
|
|
|
offset. On the PBX board, disabling this option allows 1GB of
|
2015-11-26 00:32:14 +08:00
|
|
|
RAM to be used with HIGHMEM.
|
2008-12-01 22:54:55 +08:00
|
|
|
|
2015-11-26 00:32:19 +08:00
|
|
|
endif
|