2013-11-09 20:33:48 +08:00
|
|
|
config ARCH_SHMOBILE
|
|
|
|
bool
|
|
|
|
|
2013-07-18 04:31:09 +08:00
|
|
|
config ARCH_SHMOBILE_MULTI
|
2013-11-29 00:27:29 +08:00
|
|
|
bool "Renesas ARM SoCs" if ARCH_MULTI_V7
|
2013-07-18 04:31:09 +08:00
|
|
|
depends on MMU
|
2013-11-09 20:33:48 +08:00
|
|
|
select ARCH_SHMOBILE
|
2013-07-18 04:31:09 +08:00
|
|
|
select CPU_V7
|
|
|
|
select GENERIC_CLOCKEVENTS
|
|
|
|
select HAVE_ARM_SCU if SMP
|
2014-02-02 06:35:44 +08:00
|
|
|
select HAVE_ARM_TWD if SMP
|
2013-07-18 04:31:09 +08:00
|
|
|
select HAVE_SMP
|
|
|
|
select ARM_GIC
|
|
|
|
select MIGHT_HAVE_CACHE_L2X0
|
2013-12-13 02:14:21 +08:00
|
|
|
select MIGHT_HAVE_PCI
|
2013-07-18 04:31:09 +08:00
|
|
|
select NO_IOPORT
|
|
|
|
select PINCTRL
|
|
|
|
select ARCH_REQUIRE_GPIOLIB
|
|
|
|
select CLKDEV_LOOKUP
|
|
|
|
|
|
|
|
if ARCH_SHMOBILE_MULTI
|
|
|
|
|
2013-11-29 00:27:29 +08:00
|
|
|
comment "Renesas ARM SoCs System Type"
|
2013-07-18 04:31:09 +08:00
|
|
|
|
2013-07-18 04:31:18 +08:00
|
|
|
config ARCH_EMEV2
|
|
|
|
bool "Emma Mobile EV2"
|
|
|
|
|
2013-11-07 07:31:25 +08:00
|
|
|
config ARCH_R7S72100
|
|
|
|
bool "RZ/A1H (R7S72100)"
|
|
|
|
|
2013-12-11 22:13:52 +08:00
|
|
|
config ARCH_R8A7790
|
|
|
|
bool "R-Car H2 (R8A77900)"
|
|
|
|
select RENESAS_IRQC
|
|
|
|
|
2013-11-06 18:40:01 +08:00
|
|
|
config ARCH_R8A7791
|
|
|
|
bool "R-Car M2 (R8A77910)"
|
|
|
|
select RENESAS_IRQC
|
|
|
|
|
2013-11-29 00:27:29 +08:00
|
|
|
comment "Renesas ARM SoCs Board Type"
|
2013-07-18 04:31:18 +08:00
|
|
|
|
2013-11-07 07:31:25 +08:00
|
|
|
config MACH_GENMAI
|
|
|
|
bool "Genmai board"
|
|
|
|
depends on ARCH_R7S72100
|
|
|
|
|
2013-11-06 18:40:01 +08:00
|
|
|
config MACH_KOELSCH
|
|
|
|
bool "Koelsch board"
|
|
|
|
depends on ARCH_R8A7791
|
|
|
|
|
2013-10-01 18:33:15 +08:00
|
|
|
config MACH_KZM9D
|
|
|
|
bool "KZM9D board"
|
2013-07-18 04:31:18 +08:00
|
|
|
depends on ARCH_EMEV2
|
|
|
|
select REGULATOR_FIXED_VOLTAGE if REGULATOR
|
2013-07-18 04:31:27 +08:00
|
|
|
|
2013-12-11 22:13:52 +08:00
|
|
|
config MACH_LAGER
|
|
|
|
bool "Lager board"
|
|
|
|
depends on ARCH_R8A7790
|
|
|
|
|
2013-11-29 00:27:29 +08:00
|
|
|
comment "Renesas ARM SoCs System Configuration"
|
2013-07-18 04:31:09 +08:00
|
|
|
endif
|
|
|
|
|
2013-11-09 20:33:48 +08:00
|
|
|
if ARCH_SHMOBILE_LEGACY
|
2010-02-05 19:14:49 +08:00
|
|
|
|
2013-11-29 00:27:29 +08:00
|
|
|
comment "Renesas ARM SoCs System Type"
|
2010-02-05 19:14:49 +08:00
|
|
|
|
2010-02-05 19:14:58 +08:00
|
|
|
config ARCH_SH7372
|
|
|
|
bool "SH-Mobile AP4 (SH7372)"
|
2010-11-16 15:10:20 +08:00
|
|
|
select ARCH_WANT_OPTIONAL_GPIOLIB
|
2012-07-12 04:54:05 +08:00
|
|
|
select ARM_CPU_SUSPEND if PM || CPU_IDLE
|
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 CPU_V7
|
|
|
|
select SH_CLK_CPG
|
2010-02-05 19:14:58 +08:00
|
|
|
|
2010-11-17 18:59:31 +08:00
|
|
|
config ARCH_SH73A0
|
|
|
|
bool "SH-Mobile AG5 (R8A73A00)"
|
2010-11-19 15:47:16 +08:00
|
|
|
select ARCH_WANT_OPTIONAL_GPIOLIB
|
2010-11-17 18:59:31 +08:00
|
|
|
select ARM_GIC
|
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 CPU_V7
|
2011-08-31 00:19:13 +08:00
|
|
|
select I2C
|
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 SH_CLK_CPG
|
2013-02-26 11:01:09 +08:00
|
|
|
select RENESAS_INTC_IRQPIN
|
2010-11-17 18:59:31 +08:00
|
|
|
|
2013-03-26 09:34:24 +08:00
|
|
|
config ARCH_R8A73A4
|
|
|
|
bool "R-Mobile APE6 (R8A73A40)"
|
2013-03-26 09:34:52 +08:00
|
|
|
select ARCH_WANT_OPTIONAL_GPIOLIB
|
2013-03-26 09:34:24 +08:00
|
|
|
select ARM_GIC
|
|
|
|
select CPU_V7
|
|
|
|
select SH_CLK_CPG
|
2013-03-26 09:34:42 +08:00
|
|
|
select RENESAS_IRQC
|
2013-05-22 17:12:37 +08:00
|
|
|
select ARCH_HAS_CPUFREQ
|
|
|
|
select ARCH_HAS_OPP
|
2010-11-17 18:59:31 +08:00
|
|
|
|
2011-11-11 10:45:52 +08:00
|
|
|
config ARCH_R8A7740
|
|
|
|
bool "R-Mobile A1 (R8A77400)"
|
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 ARCH_WANT_OPTIONAL_GPIOLIB
|
2013-03-27 21:54:04 +08:00
|
|
|
select ARM_GIC
|
2011-11-11 10:45:52 +08:00
|
|
|
select CPU_V7
|
|
|
|
select SH_CLK_CPG
|
2013-03-27 21:54:04 +08:00
|
|
|
select RENESAS_INTC_IRQPIN
|
2011-11-11 10:45:52 +08:00
|
|
|
|
2013-03-21 18:01:36 +08:00
|
|
|
config ARCH_R8A7778
|
2013-05-09 08:05:40 +08:00
|
|
|
bool "R-Car M1A (R8A77781)"
|
2013-04-12 13:37:50 +08:00
|
|
|
select ARCH_WANT_OPTIONAL_GPIOLIB
|
2013-03-21 18:01:36 +08:00
|
|
|
select CPU_V7
|
|
|
|
select SH_CLK_CPG
|
|
|
|
select ARM_GIC
|
2013-06-09 04:36:05 +08:00
|
|
|
select USB_ARCH_HAS_EHCI
|
|
|
|
select USB_ARCH_HAS_OHCI
|
2011-11-11 10:45:52 +08:00
|
|
|
|
2011-12-14 00:36:12 +08:00
|
|
|
config ARCH_R8A7779
|
|
|
|
bool "R-Car H1 (R8A77790)"
|
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 ARCH_WANT_OPTIONAL_GPIOLIB
|
|
|
|
select ARM_GIC
|
2011-12-14 00:36:12 +08:00
|
|
|
select CPU_V7
|
|
|
|
select SH_CLK_CPG
|
2012-10-29 16:15:34 +08:00
|
|
|
select USB_ARCH_HAS_EHCI
|
2012-10-29 16:15:43 +08:00
|
|
|
select USB_ARCH_HAS_OHCI
|
2013-02-26 11:01:18 +08:00
|
|
|
select RENESAS_INTC_IRQPIN
|
2011-12-14 00:36:12 +08:00
|
|
|
|
2013-03-27 23:49:34 +08:00
|
|
|
config ARCH_R8A7790
|
|
|
|
bool "R-Car H2 (R8A77900)"
|
2013-03-27 23:50:03 +08:00
|
|
|
select ARCH_WANT_OPTIONAL_GPIOLIB
|
2013-03-27 23:49:34 +08:00
|
|
|
select ARM_GIC
|
|
|
|
select CPU_V7
|
2013-12-13 02:14:21 +08:00
|
|
|
select MIGHT_HAVE_PCI
|
2013-03-27 23:49:34 +08:00
|
|
|
select SH_CLK_CPG
|
2013-03-27 23:49:54 +08:00
|
|
|
select RENESAS_IRQC
|
2011-12-14 00:36:12 +08:00
|
|
|
|
2013-09-04 11:45:57 +08:00
|
|
|
config ARCH_R8A7791
|
|
|
|
bool "R-Car M2 (R8A77910)"
|
2013-10-08 11:39:20 +08:00
|
|
|
select ARCH_WANT_OPTIONAL_GPIOLIB
|
2013-09-04 11:45:57 +08:00
|
|
|
select ARM_GIC
|
|
|
|
select CPU_V7
|
2013-12-13 02:14:21 +08:00
|
|
|
select MIGHT_HAVE_PCI
|
2013-09-04 11:45:57 +08:00
|
|
|
select SH_CLK_CPG
|
2013-10-08 11:16:08 +08:00
|
|
|
select RENESAS_IRQC
|
2013-09-04 11:45:57 +08:00
|
|
|
|
2012-05-16 14:44:58 +08:00
|
|
|
config ARCH_EMEV2
|
|
|
|
bool "Emma Mobile EV2"
|
2012-05-16 14:45:34 +08:00
|
|
|
select ARCH_WANT_OPTIONAL_GPIOLIB
|
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 ARM_GIC
|
|
|
|
select CPU_V7
|
2013-12-13 02:14:21 +08:00
|
|
|
select MIGHT_HAVE_PCI
|
2013-11-08 18:09:34 +08:00
|
|
|
select USE_OF
|
2013-12-10 15:43:16 +08:00
|
|
|
select AUTO_ZRELADDR
|
2012-05-16 14:44:58 +08:00
|
|
|
|
2013-09-19 04:11:11 +08:00
|
|
|
config ARCH_R7S72100
|
|
|
|
bool "RZ/A1H (R7S72100)"
|
2013-10-10 06:57:42 +08:00
|
|
|
select ARCH_WANT_OPTIONAL_GPIOLIB
|
2013-09-19 04:11:11 +08:00
|
|
|
select ARM_GIC
|
|
|
|
select CPU_V7
|
|
|
|
select SH_CLK_CPG
|
|
|
|
|
2013-11-29 00:27:29 +08:00
|
|
|
comment "Renesas ARM SoCs Board Type"
|
2010-02-05 19:14:49 +08:00
|
|
|
|
2013-03-29 16:00:02 +08:00
|
|
|
config MACH_APE6EVM
|
|
|
|
bool "APE6EVM board"
|
|
|
|
depends on ARCH_R8A73A4
|
|
|
|
select USE_OF
|
|
|
|
|
2013-07-09 00:04:57 +08:00
|
|
|
config MACH_APE6EVM_REFERENCE
|
|
|
|
bool "APE6EVM board - Reference Device Tree Implementation"
|
|
|
|
depends on ARCH_R8A73A4
|
|
|
|
select USE_OF
|
|
|
|
---help---
|
|
|
|
Use reference implementation of APE6EVM board support
|
|
|
|
which makes a greater use of device tree at the expense
|
|
|
|
of not supporting a number of devices.
|
|
|
|
|
|
|
|
This is intended to aid developers
|
|
|
|
|
2010-11-29 10:21:21 +08:00
|
|
|
config MACH_MACKEREL
|
|
|
|
bool "mackerel board"
|
|
|
|
depends on ARCH_SH7372
|
2010-11-19 15:49:38 +08:00
|
|
|
select ARCH_REQUIRE_GPIOLIB
|
2012-07-05 21:17:42 +08:00
|
|
|
select REGULATOR_FIXED_VOLTAGE if REGULATOR
|
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 SND_SOC_AK4642 if SND_SIMPLE_CARD
|
2012-10-24 13:48:00 +08:00
|
|
|
select USE_OF
|
2010-11-17 18:59:31 +08:00
|
|
|
|
2012-04-06 16:28:59 +08:00
|
|
|
config MACH_ARMADILLO800EVA
|
|
|
|
bool "Armadillo-800 EVA board"
|
|
|
|
depends on ARCH_R8A7740
|
|
|
|
select ARCH_REQUIRE_GPIOLIB
|
2012-07-05 21:17:42 +08:00
|
|
|
select REGULATOR_FIXED_VOLTAGE if REGULATOR
|
2012-06-25 18:32:50 +08:00
|
|
|
select SND_SOC_WM8978 if SND_SIMPLE_CARD
|
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 USE_OF
|
2012-04-06 16:28:59 +08:00
|
|
|
|
2013-04-17 18:34:06 +08:00
|
|
|
config MACH_ARMADILLO800EVA_REFERENCE
|
|
|
|
bool "Armadillo-800 EVA board - Reference Device Tree Implementation"
|
|
|
|
depends on ARCH_R8A7740
|
|
|
|
select ARCH_REQUIRE_GPIOLIB
|
|
|
|
select REGULATOR_FIXED_VOLTAGE if REGULATOR
|
|
|
|
select SND_SOC_WM8978 if SND_SIMPLE_CARD
|
|
|
|
select USE_OF
|
|
|
|
---help---
|
|
|
|
Use reference implementation of Aramdillo800 EVA board support
|
|
|
|
which makes a greater use of device tree at the expense
|
|
|
|
of not supporting a number of devices.
|
|
|
|
|
|
|
|
This is intended to aid developers
|
|
|
|
|
2013-03-21 18:03:38 +08:00
|
|
|
config MACH_BOCKW
|
|
|
|
bool "BOCK-W platform"
|
|
|
|
depends on ARCH_R8A7778
|
|
|
|
select ARCH_REQUIRE_GPIOLIB
|
2013-04-02 12:20:02 +08:00
|
|
|
select RENESAS_INTC_IRQPIN
|
2013-07-09 17:07:13 +08:00
|
|
|
select REGULATOR_FIXED_VOLTAGE if REGULATOR
|
2013-03-21 18:03:38 +08:00
|
|
|
select USE_OF
|
2013-08-26 16:52:35 +08:00
|
|
|
select SND_SOC_AK4554 if SND_SIMPLE_CARD
|
|
|
|
select SND_SOC_AK4642 if SND_SIMPLE_CARD
|
2013-03-21 18:03:38 +08:00
|
|
|
|
2013-07-24 15:36:51 +08:00
|
|
|
config MACH_BOCKW_REFERENCE
|
|
|
|
bool "BOCK-W - Reference Device Tree Implementation"
|
|
|
|
depends on ARCH_R8A7778
|
|
|
|
select ARCH_REQUIRE_GPIOLIB
|
|
|
|
select RENESAS_INTC_IRQPIN
|
|
|
|
select REGULATOR_FIXED_VOLTAGE if REGULATOR
|
|
|
|
select USE_OF
|
|
|
|
---help---
|
|
|
|
Use reference implementation of BockW board support
|
|
|
|
which makes use of device tree at the expense
|
|
|
|
of not supporting a number of devices.
|
|
|
|
|
|
|
|
This is intended to aid developers
|
|
|
|
|
2013-09-19 04:11:29 +08:00
|
|
|
config MACH_GENMAI
|
|
|
|
bool "Genmai board"
|
|
|
|
depends on ARCH_R7S72100
|
|
|
|
select USE_OF
|
|
|
|
|
2013-11-07 07:31:16 +08:00
|
|
|
config MACH_GENMAI_REFERENCE
|
|
|
|
bool "Genmai board - Reference Device Tree Implementation"
|
|
|
|
depends on ARCH_R7S72100
|
|
|
|
select USE_OF
|
|
|
|
---help---
|
|
|
|
Use reference implementation of Genmai board support
|
|
|
|
which makes use of device tree at the expense
|
|
|
|
of not supporting a number of devices.
|
|
|
|
|
|
|
|
This is intended to aid developers
|
|
|
|
|
2011-12-14 00:36:12 +08:00
|
|
|
config MACH_MARZEN
|
|
|
|
bool "MARZEN board"
|
|
|
|
depends on ARCH_R8A7779
|
2011-12-14 00:36:22 +08:00
|
|
|
select ARCH_REQUIRE_GPIOLIB
|
2012-07-05 21:17:42 +08:00
|
|
|
select REGULATOR_FIXED_VOLTAGE if REGULATOR
|
2013-07-24 15:30:42 +08:00
|
|
|
select USE_OF
|
2011-12-14 00:36:12 +08:00
|
|
|
|
2013-01-29 10:40:18 +08:00
|
|
|
config MACH_MARZEN_REFERENCE
|
|
|
|
bool "MARZEN board - Reference Device Tree Implementation"
|
|
|
|
depends on ARCH_R8A7779
|
|
|
|
select ARCH_REQUIRE_GPIOLIB
|
|
|
|
select REGULATOR_FIXED_VOLTAGE if REGULATOR
|
|
|
|
select USE_OF
|
|
|
|
---help---
|
|
|
|
Use reference implementation of Marzen board support
|
|
|
|
which makes use of device tree at the expense
|
|
|
|
of not supporting a number of devices.
|
|
|
|
|
|
|
|
This is intended to aid developers
|
|
|
|
|
2013-03-29 16:49:37 +08:00
|
|
|
config MACH_LAGER
|
|
|
|
bool "Lager board"
|
|
|
|
depends on ARCH_R8A7790
|
|
|
|
select USE_OF
|
|
|
|
|
2013-09-04 11:46:49 +08:00
|
|
|
config MACH_KOELSCH
|
|
|
|
bool "Koelsch board"
|
|
|
|
depends on ARCH_R8A7791
|
|
|
|
select USE_OF
|
2013-12-12 20:35:43 +08:00
|
|
|
select MICREL_PHY if SH_ETH
|
2013-09-04 11:46:49 +08:00
|
|
|
|
2012-04-11 11:57:31 +08:00
|
|
|
config MACH_KZM9G
|
|
|
|
bool "KZM-A9-GT board"
|
|
|
|
depends on ARCH_SH73A0
|
2013-04-05 18:00:38 +08:00
|
|
|
select ARCH_HAS_CPUFREQ
|
|
|
|
select ARCH_HAS_OPP
|
2012-04-11 11:57:31 +08:00
|
|
|
select ARCH_REQUIRE_GPIOLIB
|
2012-07-05 21:17:42 +08:00
|
|
|
select REGULATOR_FIXED_VOLTAGE if REGULATOR
|
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 SND_SOC_AK4642 if SND_SIMPLE_CARD
|
|
|
|
select USE_OF
|
2012-04-11 11:57:31 +08:00
|
|
|
|
2012-11-21 23:34:25 +08:00
|
|
|
config MACH_KZM9G_REFERENCE
|
|
|
|
bool "KZM-A9-GT board - Reference Device Tree Implementation"
|
2013-01-16 01:23:36 +08:00
|
|
|
depends on ARCH_SH73A0
|
|
|
|
select ARCH_REQUIRE_GPIOLIB
|
|
|
|
select REGULATOR_FIXED_VOLTAGE if REGULATOR
|
|
|
|
select SND_SOC_AK4642 if SND_SIMPLE_CARD
|
|
|
|
select USE_OF
|
2012-11-21 23:34:25 +08:00
|
|
|
---help---
|
|
|
|
Use reference implementation of KZM-A9-GT board support
|
|
|
|
which makes as greater use of device tree at the expense
|
|
|
|
of not supporting a number of devices.
|
|
|
|
|
|
|
|
This is intended to aid developers
|
|
|
|
|
2013-11-29 00:27:29 +08:00
|
|
|
comment "Renesas ARM SoCs System Configuration"
|
2010-02-05 19:14:49 +08:00
|
|
|
|
2012-01-18 01:20:23 +08:00
|
|
|
config CPU_HAS_INTEVT
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2013-07-18 04:31:27 +08:00
|
|
|
config SH_CLK_CPG
|
|
|
|
bool
|
|
|
|
|
|
|
|
source "drivers/sh/Kconfig"
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2013-11-09 20:33:48 +08:00
|
|
|
if ARCH_SHMOBILE
|
2013-07-18 04:31:27 +08:00
|
|
|
|
2010-02-05 19:14:49 +08:00
|
|
|
menu "Timer and clock configuration"
|
|
|
|
|
2010-07-29 21:03:04 +08:00
|
|
|
config SHMOBILE_TIMER_HZ
|
|
|
|
int "Kernel HZ (jiffies per second)"
|
|
|
|
range 32 1024
|
|
|
|
default "128"
|
|
|
|
help
|
|
|
|
Allows the configuration of the timer frequency. It is customary
|
|
|
|
to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
|
|
|
|
case of low timer frequencies other values may be more suitable.
|
2013-11-29 00:27:29 +08:00
|
|
|
Renesas ARM SoC systems using a 32768 Hz RCLK for clock events may
|
|
|
|
want to select a HZ value such as 128 that can evenly divide RCLK.
|
2010-07-29 21:03:04 +08:00
|
|
|
A HZ value that does not divide evenly may cause timer drift.
|
|
|
|
|
2010-02-05 19:14:49 +08:00
|
|
|
config SH_TIMER_CMT
|
|
|
|
bool "CMT timer driver"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
This enables build of the CMT timer driver.
|
|
|
|
|
2010-05-12 17:03:19 +08:00
|
|
|
config SH_TIMER_TMU
|
|
|
|
bool "TMU timer driver"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
This enables build of the TMU timer driver.
|
|
|
|
|
2012-05-25 15:03:44 +08:00
|
|
|
config EM_TIMER_STI
|
|
|
|
bool "STI timer driver"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
This enables build of the STI timer driver.
|
|
|
|
|
2010-02-05 19:14:49 +08:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
endif
|