2012-09-27 03:08:59 +08:00
|
|
|
config ARCH_TEGRA
|
|
|
|
bool "NVIDIA Tegra" if ARCH_MULTI_V7
|
|
|
|
select ARCH_HAS_CPUFREQ
|
|
|
|
select ARCH_REQUIRE_GPIOLIB
|
2013-08-07 04:38:51 +08:00
|
|
|
select ARM_GIC
|
2012-09-27 03:08:59 +08:00
|
|
|
select CLKDEV_LOOKUP
|
|
|
|
select CLKSRC_MMIO
|
|
|
|
select CLKSRC_OF
|
|
|
|
select COMMON_CLK
|
2013-08-07 04:38:51 +08:00
|
|
|
select CPU_V7
|
2012-09-27 03:08:59 +08:00
|
|
|
select GENERIC_CLOCKEVENTS
|
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
|
2012-09-27 03:08:59 +08:00
|
|
|
select HAVE_CLK
|
|
|
|
select HAVE_SMP
|
|
|
|
select MIGHT_HAVE_CACHE_L2X0
|
2013-08-29 04:05:34 +08:00
|
|
|
select MIGHT_HAVE_PCI
|
2013-08-07 04:38:51 +08:00
|
|
|
select PINCTRL
|
2012-09-27 03:08:59 +08:00
|
|
|
select SOC_BUS
|
|
|
|
select SPARSE_IRQ
|
2013-08-07 04:38:51 +08:00
|
|
|
select USB_ARCH_HAS_EHCI if USB_SUPPORT
|
|
|
|
select USB_ULPI if USB_PHY
|
|
|
|
select USB_ULPI_VIEWPORT if USB_PHY
|
2012-09-27 03:08:59 +08:00
|
|
|
select USE_OF
|
|
|
|
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-03-20 21:57:38 +08:00
|
|
|
select HAVE_ARM_ARCH_TIMER
|
2013-07-03 17:55:48 +08:00
|
|
|
select ARM_ERRATA_798181
|
2013-01-24 09:10:26 +08:00
|
|
|
select ARM_L1_CACHE_SHIFT_6
|
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
|
|
|
|
|
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
|
|
|
|
2011-02-13 10:22:49 +08:00
|
|
|
config TEGRA_EMC_SCALING_ENABLE
|
|
|
|
bool "Enable scaling the memory frequency"
|
2011-02-23 04:35:24 +08:00
|
|
|
|
2012-09-27 03:08:59 +08:00
|
|
|
endmenu
|