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