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