2013-11-09 16:33:48 +04:00
config ARCH_SHMOBILE
bool
2014-06-10 18:06:10 +04:00
menuconfig ARCH_SHMOBILE_MULTI
2013-11-28 20:27:29 +04:00
bool "Renesas ARM SoCs" if ARCH_MULTI_V7
2013-07-18 00:31:09 +04:00
depends on MMU
2013-11-09 16:33:48 +04:00
select ARCH_SHMOBILE
2013-07-18 00:31:09 +04:00
select HAVE_ARM_SCU if SMP
2014-02-02 02:35:44 +04:00
select HAVE_ARM_TWD if SMP
2013-07-18 00:31:09 +04:00
select ARM_GIC
2014-02-05 09:36:28 +04:00
select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
2014-04-08 02:39:19 +04:00
select NO_IOPORT_MAP
2013-07-18 00:31:09 +04:00
select PINCTRL
select ARCH_REQUIRE_GPIOLIB
2014-06-05 07:49:44 +04:00
select ARCH_HAS_OPP
2013-07-18 00:31:09 +04:00
if ARCH_SHMOBILE_MULTI
2014-06-10 18:06:10 +04:00
#comment "Renesas ARM SoCs System Type"
2013-07-18 00:31:09 +04:00
2013-07-18 00:31:18 +04:00
config ARCH_EMEV2
bool "Emma Mobile EV2"
2014-02-20 15:54:46 +04:00
select SYS_SUPPORTS_EM_STI
2013-07-18 00:31:18 +04:00
2013-11-07 03:31:25 +04:00
config ARCH_R7S72100
bool "RZ/A1H (R7S72100)"
2014-02-20 15:54:46 +04:00
select SYS_SUPPORTS_SH_MTU2
2013-11-07 03:31:25 +04:00
2014-05-15 15:32:05 +04:00
config ARCH_R8A7779
bool "R-Car H1 (R8A77790)"
select RENESAS_INTC_IRQPIN
select SYS_SUPPORTS_SH_TMU
2013-12-11 18:13:52 +04:00
config ARCH_R8A7790
bool "R-Car H2 (R8A77900)"
select RENESAS_IRQC
2014-02-20 15:54:46 +04:00
select SYS_SUPPORTS_SH_CMT
2013-12-11 18:13:52 +04:00
2013-11-06 14:40:01 +04:00
config ARCH_R8A7791
bool "R-Car M2 (R8A77910)"
select RENESAS_IRQC
2014-02-20 15:54:46 +04:00
select SYS_SUPPORTS_SH_CMT
2013-11-06 14:40:01 +04:00
2013-11-28 20:27:29 +04:00
comment "Renesas ARM SoCs Board Type"
2013-07-18 00:31:18 +04:00
2013-11-07 03:31:25 +04:00
config MACH_GENMAI
bool "Genmai board"
depends on ARCH_R7S72100
2013-11-06 14:40:01 +04:00
config MACH_KOELSCH
bool "Koelsch board"
depends on ARCH_R8A7791
2013-12-26 09:30:38 +04:00
select MICREL_PHY if SH_ETH
2013-07-18 00:31:27 +04:00
2013-12-11 18:13:52 +04:00
config MACH_LAGER
bool "Lager board"
depends on ARCH_R8A7790
2013-12-20 03:20:54 +04:00
select MICREL_PHY if SH_ETH
2013-12-11 18:13:52 +04:00
2014-05-15 15:32:05 +04:00
config MACH_MARZEN
bool "MARZEN board"
depends on ARCH_R8A7779
select REGULATOR_FIXED_VOLTAGE if REGULATOR
2013-11-28 20:27:29 +04:00
comment "Renesas ARM SoCs System Configuration"
2013-07-18 00:31:09 +04:00
endif
2013-11-09 16:33:48 +04:00
if ARCH_SHMOBILE_LEGACY
2010-02-05 14:14:49 +03:00
2013-11-28 20:27:29 +04:00
comment "Renesas ARM SoCs System Type"
2010-02-05 14:14:49 +03:00
2010-02-05 14:14:58 +03:00
config ARCH_SH7372
bool "SH-Mobile AP4 (SH7372)"
2010-11-16 10:10:20 +03:00
select ARCH_WANT_OPTIONAL_GPIOLIB
2012-07-12 00:54:05 +04: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-06 20:12:25 +04:00
select CPU_V7
select SH_CLK_CPG
2014-08-20 17:39:22 +04:00
select SH_INTC
2014-02-20 15:54:46 +04:00
select SYS_SUPPORTS_SH_CMT
select SYS_SUPPORTS_SH_TMU
2010-02-05 14:14:58 +03:00
2010-11-17 13:59:31 +03:00
config ARCH_SH73A0
bool "SH-Mobile AG5 (R8A73A00)"
2010-11-19 10:47:16 +03:00
select ARCH_WANT_OPTIONAL_GPIOLIB
2010-11-17 13:59:31 +03: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-06 20:12:25 +04:00
select CPU_V7
2011-08-30 20:19:13 +04: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-06 20:12:25 +04:00
select SH_CLK_CPG
2014-08-20 17:39:22 +04:00
select SH_INTC
2013-02-26 07:01:09 +04:00
select RENESAS_INTC_IRQPIN
2014-02-20 15:54:46 +04:00
select SYS_SUPPORTS_SH_CMT
select SYS_SUPPORTS_SH_TMU
2010-11-17 13:59:31 +03:00
2013-03-26 05:34:24 +04:00
config ARCH_R8A73A4
bool "R-Mobile APE6 (R8A73A40)"
2013-03-26 05:34:52 +04:00
select ARCH_WANT_OPTIONAL_GPIOLIB
2013-03-26 05:34:24 +04:00
select ARM_GIC
select CPU_V7
select SH_CLK_CPG
2013-03-26 05:34:42 +04:00
select RENESAS_IRQC
2014-02-20 15:54:46 +04:00
select SYS_SUPPORTS_SH_CMT
select SYS_SUPPORTS_SH_TMU
2010-11-17 13:59:31 +03:00
2011-11-11 06:45:52 +04: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-06 20:12:25 +04:00
select ARCH_WANT_OPTIONAL_GPIOLIB
2013-03-27 17:54:04 +04:00
select ARM_GIC
2011-11-11 06:45:52 +04:00
select CPU_V7
select SH_CLK_CPG
2013-03-27 17:54:04 +04:00
select RENESAS_INTC_IRQPIN
2014-02-20 15:54:46 +04:00
select SYS_SUPPORTS_SH_CMT
select SYS_SUPPORTS_SH_TMU
2011-11-11 06:45:52 +04:00
2013-03-21 14:01:36 +04:00
config ARCH_R8A7778
2013-05-09 04:05:40 +04:00
bool "R-Car M1A (R8A77781)"
2013-04-12 09:37:50 +04:00
select ARCH_WANT_OPTIONAL_GPIOLIB
2013-03-21 14:01:36 +04:00
select CPU_V7
select SH_CLK_CPG
select ARM_GIC
2014-02-20 15:54:46 +04:00
select SYS_SUPPORTS_SH_TMU
2014-03-23 23:36:18 +04:00
select RENESAS_INTC_IRQPIN
2011-11-11 06:45:52 +04:00
2011-12-13 20:36:12 +04: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-06 20:12:25 +04:00
select ARCH_WANT_OPTIONAL_GPIOLIB
select ARM_GIC
2011-12-13 20:36:12 +04:00
select CPU_V7
select SH_CLK_CPG
2013-02-26 07:01:18 +04:00
select RENESAS_INTC_IRQPIN
2014-02-20 15:54:46 +04:00
select SYS_SUPPORTS_SH_TMU
2011-12-13 20:36:12 +04:00
2013-03-27 19:49:34 +04:00
config ARCH_R8A7790
bool "R-Car H2 (R8A77900)"
2013-03-27 19:50:03 +04:00
select ARCH_WANT_OPTIONAL_GPIOLIB
2013-03-27 19:49:34 +04:00
select ARM_GIC
select CPU_V7
2013-12-12 22:14:21 +04:00
select MIGHT_HAVE_PCI
2013-03-27 19:49:34 +04:00
select SH_CLK_CPG
2013-03-27 19:49:54 +04:00
select RENESAS_IRQC
2014-02-20 15:54:46 +04:00
select SYS_SUPPORTS_SH_CMT
2014-02-05 09:36:28 +04:00
select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
2011-12-13 20:36:12 +04:00
2013-09-04 07:45:57 +04:00
config ARCH_R8A7791
bool "R-Car M2 (R8A77910)"
2013-10-08 07:39:20 +04:00
select ARCH_WANT_OPTIONAL_GPIOLIB
2013-09-04 07:45:57 +04:00
select ARM_GIC
select CPU_V7
2013-12-12 22:14:21 +04:00
select MIGHT_HAVE_PCI
2013-09-04 07:45:57 +04:00
select SH_CLK_CPG
2013-10-08 07:16:08 +04:00
select RENESAS_IRQC
2014-02-20 15:54:46 +04:00
select SYS_SUPPORTS_SH_CMT
2014-02-05 09:36:28 +04:00
select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
2013-09-04 07:45:57 +04:00
2013-09-19 00:11:11 +04:00
config ARCH_R7S72100
bool "RZ/A1H (R7S72100)"
2013-10-10 02:57:42 +04:00
select ARCH_WANT_OPTIONAL_GPIOLIB
2013-09-19 00:11:11 +04:00
select ARM_GIC
select CPU_V7
select SH_CLK_CPG
2014-02-20 15:54:46 +04:00
select SYS_SUPPORTS_SH_MTU2
2013-09-19 00:11:11 +04:00
2013-11-28 20:27:29 +04:00
comment "Renesas ARM SoCs Board Type"
2010-02-05 14:14:49 +03:00
2013-03-29 12:00:02 +04:00
config MACH_APE6EVM
bool "APE6EVM board"
depends on ARCH_R8A73A4
2014-01-07 10:23:47 +04:00
select SMSC_PHY if SMSC911X
2013-03-29 12:00:02 +04:00
select USE_OF
2013-07-08 20:04:57 +04:00
config MACH_APE6EVM_REFERENCE
bool "APE6EVM board - Reference Device Tree Implementation"
depends on ARCH_R8A73A4
2014-01-07 10:23:47 +04:00
select SMSC_PHY if SMSC911X
2013-07-08 20:04:57 +04:00
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 05:21:21 +03:00
config MACH_MACKEREL
bool "mackerel board"
depends on ARCH_SH7372
2010-11-19 10:49:38 +03:00
select ARCH_REQUIRE_GPIOLIB
2012-07-05 17:17:42 +04:00
select REGULATOR_FIXED_VOLTAGE if REGULATOR
2014-01-07 10:23:47 +04:00
select SMSC_PHY if SMSC911X
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 20:12:25 +04:00
select SND_SOC_AK4642 if SND_SIMPLE_CARD
2012-10-24 09:48:00 +04:00
select USE_OF
2010-11-17 13:59:31 +03:00
2012-04-06 12:28:59 +04:00
config MACH_ARMADILLO800EVA
bool "Armadillo-800 EVA board"
depends on ARCH_R8A7740
select ARCH_REQUIRE_GPIOLIB
2012-07-05 17:17:42 +04:00
select REGULATOR_FIXED_VOLTAGE if REGULATOR
2014-01-07 10:55:49 +04:00
select SMSC_PHY if SH_ETH
2012-06-25 14:32:50 +04: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-06 20:12:25 +04:00
select USE_OF
2012-04-06 12:28:59 +04:00
2013-04-17 14:34:06 +04: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
2014-01-07 10:55:49 +04:00
select SMSC_PHY if SH_ETH
2013-04-17 14:34:06 +04:00
select SND_SOC_WM8978 if SND_SIMPLE_CARD
select USE_OF
---help---
2014-03-18 13:39:23 +04:00
Use reference implementation of Armadillo800 EVA board support
which makes greater use of device tree at the expense
2013-04-17 14:34:06 +04:00
of not supporting a number of devices.
This is intended to aid developers
2013-03-21 14:03:38 +04:00
config MACH_BOCKW
bool "BOCK-W platform"
depends on ARCH_R8A7778
select ARCH_REQUIRE_GPIOLIB
2013-07-09 13:07:13 +04:00
select REGULATOR_FIXED_VOLTAGE if REGULATOR
2013-08-26 12:52:35 +04:00
select SND_SOC_AK4554 if SND_SIMPLE_CARD
select SND_SOC_AK4642 if SND_SIMPLE_CARD
2014-01-07 11:40:32 +04:00
select USE_OF
2013-03-21 14:03:38 +04:00
2013-07-24 11:36:51 +04:00
config MACH_BOCKW_REFERENCE
bool "BOCK-W - Reference Device Tree Implementation"
depends on ARCH_R8A7778
select ARCH_REQUIRE_GPIOLIB
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 00:11:29 +04:00
config MACH_GENMAI
bool "Genmai board"
depends on ARCH_R7S72100
select USE_OF
2011-12-13 20:36:12 +04:00
config MACH_MARZEN
bool "MARZEN board"
depends on ARCH_R8A7779
2011-12-13 20:36:22 +04:00
select ARCH_REQUIRE_GPIOLIB
2012-07-05 17:17:42 +04:00
select REGULATOR_FIXED_VOLTAGE if REGULATOR
2013-07-24 11:30:42 +04:00
select USE_OF
2011-12-13 20:36:12 +04:00
2013-03-29 12:49:37 +04:00
config MACH_LAGER
bool "Lager board"
depends on ARCH_R8A7790
select USE_OF
2013-12-20 03:20:54 +04:00
select MICREL_PHY if SH_ETH
2014-01-14 06:25:50 +04:00
select SND_SOC_AK4642 if SND_SIMPLE_CARD
2013-03-29 12:49:37 +04:00
2013-09-04 07:46:49 +04:00
config MACH_KOELSCH
bool "Koelsch board"
depends on ARCH_R8A7791
select USE_OF
2013-12-12 16:35:43 +04:00
select MICREL_PHY if SH_ETH
2013-09-04 07:46:49 +04:00
2012-04-11 07:57:31 +04:00
config MACH_KZM9G
bool "KZM-A9-GT board"
depends on ARCH_SH73A0
select ARCH_REQUIRE_GPIOLIB
2012-07-05 17:17:42 +04: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-06 20:12:25 +04:00
select SND_SOC_AK4642 if SND_SIMPLE_CARD
select USE_OF
2012-04-11 07:57:31 +04:00
2012-11-21 19:34:25 +04:00
config MACH_KZM9G_REFERENCE
bool "KZM-A9-GT board - Reference Device Tree Implementation"
2013-01-15 21:23:36 +04: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 19:34:25 +04: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-28 20:27:29 +04:00
comment "Renesas ARM SoCs System Configuration"
2010-02-05 14:14:49 +03:00
2012-01-17 21:20:23 +04:00
config CPU_HAS_INTEVT
bool
default y
2013-07-18 00:31:27 +04:00
config SH_CLK_CPG
bool
source "drivers/sh/Kconfig"
endif
2013-11-09 16:33:48 +04:00
if ARCH_SHMOBILE
2013-07-18 00:31:27 +04:00
2010-02-05 14:14:49 +03:00
menu "Timer and clock configuration"
2010-07-29 17:03:04 +04: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-28 20:27:29 +04: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 17:03:04 +04:00
A HZ value that does not divide evenly may cause timer drift.
2010-02-05 14:14:49 +03:00
endmenu
endif