2014-06-10 14:06:10 +00:00
|
|
|
menuconfig ARCH_TEGRA
|
2012-09-26 19:08:59 +00:00
|
|
|
bool "NVIDIA Tegra" if ARCH_MULTI_V7
|
|
|
|
select ARCH_REQUIRE_GPIOLIB
|
2013-11-24 06:30:49 +00:00
|
|
|
select ARCH_SUPPORTS_TRUSTED_FOUNDATIONS
|
2013-08-06 20:38:51 +00:00
|
|
|
select ARM_GIC
|
2012-09-26 19:08:59 +00:00
|
|
|
select CLKSRC_MMIO
|
2013-02-27 23:28:14 +00:00
|
|
|
select HAVE_ARM_SCU if SMP
|
2013-02-16 00:02:20 +00:00
|
|
|
select HAVE_ARM_TWD if SMP
|
2013-08-06 20:38:51 +00:00
|
|
|
select PINCTRL
|
2013-11-06 22:23:29 +00:00
|
|
|
select ARCH_HAS_RESET_CONTROLLER
|
|
|
|
select RESET_CONTROLLER
|
2012-09-26 19:08:59 +00:00
|
|
|
select SOC_BUS
|
2013-08-06 20:38:51 +00:00
|
|
|
select USB_ULPI if USB_PHY
|
|
|
|
select USB_ULPI_VIEWPORT if USB_PHY
|
2012-09-26 19:08:59 +00:00
|
|
|
help
|
|
|
|
This enables support for NVIDIA Tegra based systems.
|
2010-01-22 00:53:02 +00:00
|
|
|
|
2014-06-10 14:06:10 +00:00
|
|
|
if ARCH_TEGRA
|
2010-01-22 00:53:02 +00:00
|
|
|
|
|
|
|
config ARCH_TEGRA_2x_SOC
|
2011-12-14 15:03:25 +00:00
|
|
|
bool "Enable support for Tegra20 family"
|
2013-01-16 17:33:55 +00:00
|
|
|
select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
|
2012-02-14 20:39:39 +00:00
|
|
|
select ARM_ERRATA_720789
|
2013-01-02 21:34:15 +00:00
|
|
|
select ARM_ERRATA_754327 if SMP
|
2012-08-16 09:36:04 +00: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 16:12:25 +00:00
|
|
|
select PINCTRL_TEGRA20
|
2012-02-14 20:39:39 +00:00
|
|
|
select PL310_ERRATA_727915 if CACHE_L2X0
|
|
|
|
select PL310_ERRATA_769419 if CACHE_L2X0
|
2010-01-22 00:53:02 +00: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 15:03:25 +00:00
|
|
|
config ARCH_TEGRA_3x_SOC
|
|
|
|
bool "Enable support for Tegra30 family"
|
2012-02-14 20:39:39 +00:00
|
|
|
select ARM_ERRATA_754322
|
2012-08-16 09:36:04 +00: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 16:12:25 +00:00
|
|
|
select PINCTRL_TEGRA30
|
|
|
|
select PL310_ERRATA_769419 if CACHE_L2X0
|
2011-12-14 15:03:25 +00: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 00:53:02 +00:00
|
|
|
|
2013-01-24 01:10:26 +00:00
|
|
|
config ARCH_TEGRA_114_SOC
|
|
|
|
bool "Enable support for Tegra114 family"
|
2013-10-21 08:33:49 +00:00
|
|
|
select ARM_ERRATA_798181 if SMP
|
2013-01-24 01:10:26 +00:00
|
|
|
select ARM_L1_CACHE_SHIFT_6
|
2013-10-07 17:11:42 +00:00
|
|
|
select HAVE_ARM_ARCH_TIMER
|
2013-01-29 12:56:17 +00:00
|
|
|
select PINCTRL_TEGRA114
|
2013-01-24 01:10:26 +00:00
|
|
|
help
|
|
|
|
Support for NVIDIA Tegra T114 processor family, based on the
|
|
|
|
ARM CortexA15MP CPU
|
|
|
|
|
2013-10-08 04:50:03 +00: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 10:57:49 +00:00
|
|
|
select PINCTRL_TEGRA124
|
2013-10-08 04:50:03 +00:00
|
|
|
help
|
|
|
|
Support for NVIDIA Tegra T124 processor family, based on the
|
|
|
|
ARM CortexA15MP CPU
|
|
|
|
|
2012-05-07 10:24:48 +00: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 07:44:39 +00:00
|
|
|
performance parameters(priority, prefech size).
|
2012-05-07 10:24:48 +00:00
|
|
|
|
2014-06-10 14:06:10 +00:00
|
|
|
endif
|