2012-09-26 23:08:59 +04:00
|
|
|
config ARCH_TEGRA
|
|
|
|
bool "NVIDIA Tegra" if ARCH_MULTI_V7
|
|
|
|
select ARCH_HAS_CPUFREQ
|
|
|
|
select ARCH_REQUIRE_GPIOLIB
|
2013-11-24 10:30:49 +04:00
|
|
|
select ARCH_SUPPORTS_TRUSTED_FOUNDATIONS
|
2013-08-07 00:38:51 +04:00
|
|
|
select ARM_GIC
|
2012-09-26 23:08:59 +04:00
|
|
|
select CLKSRC_MMIO
|
2013-02-28 03:28:14 +04:00
|
|
|
select HAVE_ARM_SCU if SMP
|
2013-02-16 04:02:20 +04:00
|
|
|
select HAVE_ARM_TWD if SMP
|
2013-08-29 00:05:34 +04:00
|
|
|
select MIGHT_HAVE_PCI
|
2013-08-07 00:38:51 +04:00
|
|
|
select PINCTRL
|
2013-11-07 02:23:29 +04:00
|
|
|
select ARCH_HAS_RESET_CONTROLLER
|
|
|
|
select RESET_CONTROLLER
|
2012-09-26 23:08:59 +04:00
|
|
|
select SOC_BUS
|
2013-08-07 00:38:51 +04:00
|
|
|
select USB_ULPI if USB_PHY
|
|
|
|
select USB_ULPI_VIEWPORT if USB_PHY
|
2012-09-26 23:08:59 +04:00
|
|
|
help
|
|
|
|
This enables support for NVIDIA Tegra based systems.
|
2010-01-22 03:53:02 +03:00
|
|
|
|
2012-09-26 23:08:59 +04:00
|
|
|
menu "NVIDIA Tegra options"
|
|
|
|
depends on ARCH_TEGRA
|
2010-01-22 03:53:02 +03:00
|
|
|
|
|
|
|
config ARCH_TEGRA_2x_SOC
|
2011-12-14 19:03:25 +04:00
|
|
|
bool "Enable support for Tegra20 family"
|
2013-01-16 21:33:55 +04:00
|
|
|
select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
|
2012-02-15 00:39:39 +04:00
|
|
|
select ARM_ERRATA_720789
|
2013-01-03 01:34:15 +04:00
|
|
|
select ARM_ERRATA_754327 if SMP
|
2012-08-16 13:36:04 +04:00
|
|
|
select ARM_ERRATA_764369 if SMP
|
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-06 20:12:25 +04:00
|
|
|
select PINCTRL_TEGRA20
|
2012-02-15 00:39:39 +04:00
|
|
|
select PL310_ERRATA_727915 if CACHE_L2X0
|
|
|
|
select PL310_ERRATA_769419 if CACHE_L2X0
|
2010-01-22 03:53:02 +03:00
|
|
|
help
|
|
|
|
Support for NVIDIA Tegra AP20 and T20 processors, based on the
|
|
|
|
ARM CortexA9MP CPU and the ARM PL310 L2 cache controller
|
|
|
|
|
2011-12-14 19:03:25 +04:00
|
|
|
config ARCH_TEGRA_3x_SOC
|
|
|
|
bool "Enable support for Tegra30 family"
|
2012-02-15 00:39:39 +04:00
|
|
|
select ARM_ERRATA_754322
|
2012-08-16 13:36:04 +04:00
|
|
|
select ARM_ERRATA_764369 if SMP
|
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-06 20:12:25 +04:00
|
|
|
select PINCTRL_TEGRA30
|
|
|
|
select PL310_ERRATA_769419 if CACHE_L2X0
|
2011-12-14 19:03:25 +04:00
|
|
|
help
|
|
|
|
Support for NVIDIA Tegra T30 processor family, based on the
|
|
|
|
ARM CortexA9MP CPU and the ARM PL310 L2 cache controller
|
2010-01-22 03:53:02 +03:00
|
|
|
|
2013-01-24 05:10:26 +04:00
|
|
|
config ARCH_TEGRA_114_SOC
|
|
|
|
bool "Enable support for Tegra114 family"
|
2013-10-21 12:33:49 +04:00
|
|
|
select ARM_ERRATA_798181 if SMP
|
2013-01-24 05:10:26 +04:00
|
|
|
select ARM_L1_CACHE_SHIFT_6
|
2013-10-07 21:11:42 +04:00
|
|
|
select HAVE_ARM_ARCH_TIMER
|
2013-01-29 16:56:17 +04:00
|
|
|
select PINCTRL_TEGRA114
|
2013-01-24 05:10:26 +04:00
|
|
|
help
|
|
|
|
Support for NVIDIA Tegra T114 processor family, based on the
|
|
|
|
ARM CortexA15MP CPU
|
|
|
|
|
2013-10-08 08:50:03 +04:00
|
|
|
config ARCH_TEGRA_124_SOC
|
|
|
|
bool "Enable support for Tegra124 family"
|
|
|
|
select ARM_L1_CACHE_SHIFT_6
|
|
|
|
select HAVE_ARM_ARCH_TIMER
|
2013-12-05 14:57:49 +04:00
|
|
|
select PINCTRL_TEGRA124
|
2013-10-08 08:50:03 +04:00
|
|
|
help
|
|
|
|
Support for NVIDIA Tegra T124 processor family, based on the
|
|
|
|
ARM CortexA15MP CPU
|
|
|
|
|
2012-05-07 14:24:48 +04:00
|
|
|
config TEGRA_AHB
|
|
|
|
bool "Enable AHB driver for NVIDIA Tegra SoCs"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Adds AHB configuration functionality for NVIDIA Tegra SoCs,
|
|
|
|
which controls AHB bus master arbitration and some
|
2012-11-30 11:44:39 +04:00
|
|
|
performance parameters(priority, prefech size).
|
2012-05-07 14:24:48 +04:00
|
|
|
|
2012-09-26 23:08:59 +04:00
|
|
|
endmenu
|