![Russell King](/assets/img/avatar_default.png)
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>
136 lines
3.5 KiB
Plaintext
136 lines
3.5 KiB
Plaintext
if ARCH_MMP
|
|
|
|
menu "Marvell PXA168/910/MMP2 Implmentations"
|
|
|
|
config MACH_ASPENITE
|
|
bool "Marvell's PXA168 Aspenite Development Board"
|
|
select CPU_PXA168
|
|
help
|
|
Say 'Y' here if you want to support the Marvell PXA168-based
|
|
Aspenite Development Board.
|
|
|
|
config MACH_ZYLONITE2
|
|
bool "Marvell's PXA168 Zylonite2 Development Board"
|
|
select CPU_PXA168
|
|
help
|
|
Say 'Y' here if you want to support the Marvell PXA168-based
|
|
Zylonite2 Development Board.
|
|
|
|
config MACH_AVENGERS_LITE
|
|
bool "Marvell's PXA168 Avengers Lite Development Board"
|
|
select CPU_PXA168
|
|
help
|
|
Say 'Y' here if you want to support the Marvell PXA168-based
|
|
Avengers Lite Development Board.
|
|
|
|
config MACH_TAVOREVB
|
|
bool "Marvell's PXA910 TavorEVB Development Board"
|
|
select CPU_PXA910
|
|
help
|
|
Say 'Y' here if you want to support the Marvell PXA910-based
|
|
TavorEVB Development Board.
|
|
|
|
config MACH_TTC_DKB
|
|
bool "Marvell's PXA910 TavorEVB Development Board"
|
|
select CPU_PXA910
|
|
help
|
|
Say 'Y' here if you want to support the Marvell PXA910-based
|
|
TTC_DKB Development Board.
|
|
|
|
config MACH_BROWNSTONE
|
|
bool "Marvell's Brownstone Development Platform"
|
|
depends on !CPU_MOHAWK
|
|
select CPU_MMP2
|
|
help
|
|
Say 'Y' here if you want to support the Marvell MMP2-based
|
|
Brown Development Platform.
|
|
MMP2-based board can't be co-existed with PXA168-based &
|
|
PXA910-based development board. Since MMP2 is compatible to
|
|
ARMv7 architecture.
|
|
|
|
config MACH_FLINT
|
|
bool "Marvell's Flint Development Platform"
|
|
depends on !CPU_MOHAWK
|
|
select CPU_MMP2
|
|
help
|
|
Say 'Y' here if you want to support the Marvell MMP2-based
|
|
Flint Development Platform.
|
|
MMP2-based board can't be co-existed with PXA168-based &
|
|
PXA910-based development board. Since MMP2 is compatible to
|
|
ARMv7 architecture.
|
|
|
|
config MACH_MARVELL_JASPER
|
|
bool "Marvell's Jasper Development Platform"
|
|
depends on !CPU_MOHAWK
|
|
select CPU_MMP2
|
|
help
|
|
Say 'Y' here if you want to support the Marvell MMP2-base
|
|
Jasper Development Platform.
|
|
MMP2-based board can't be co-existed with PXA168-based &
|
|
PXA910-based development board. Since MMP2 is compatible to
|
|
ARMv7 architecture.
|
|
|
|
config MACH_TETON_BGA
|
|
bool "Marvell's PXA168 Teton BGA Development Board"
|
|
select CPU_PXA168
|
|
help
|
|
Say 'Y' here if you want to support the Marvell PXA168-based
|
|
Teton BGA Development Board.
|
|
|
|
config MACH_GPLUGD
|
|
bool "Marvell's PXA168 GuruPlug Display (gplugD) Board"
|
|
select CPU_PXA168
|
|
help
|
|
Say 'Y' here if you want to support the Marvell PXA168-based
|
|
GuruPlug Display (gplugD) Board
|
|
|
|
config MACH_MMP_DT
|
|
bool "Support MMP (ARMv5) platforms from device tree"
|
|
select CPU_PXA168
|
|
select CPU_PXA910
|
|
select USE_OF
|
|
help
|
|
Include support for Marvell MMP2 based platforms using
|
|
the device tree. Needn't select any other machine while
|
|
MACH_MMP_DT is enabled.
|
|
|
|
config MACH_MMP2_DT
|
|
bool "Support MMP2 (ARMv7) platforms from device tree"
|
|
depends on !CPU_MOHAWK
|
|
select CPU_MMP2
|
|
select USE_OF
|
|
help
|
|
Include support for Marvell MMP2 based platforms using
|
|
the device tree.
|
|
|
|
endmenu
|
|
|
|
config CPU_PXA168
|
|
bool
|
|
select COMMON_CLK
|
|
select CPU_MOHAWK
|
|
help
|
|
Select code specific to PXA168
|
|
|
|
config CPU_PXA910
|
|
bool
|
|
select COMMON_CLK
|
|
select CPU_MOHAWK
|
|
help
|
|
Select code specific to PXA910
|
|
|
|
config CPU_MMP2
|
|
bool
|
|
select COMMON_CLK
|
|
select CPU_PJ4
|
|
help
|
|
Select code specific to MMP2. MMP2 is ARMv7 compatible.
|
|
|
|
config USB_EHCI_MV_U2O
|
|
bool "EHCI support for PXA USB OTG controller"
|
|
depends on USB_EHCI_MV
|
|
help
|
|
Enables support for OTG controller which can be switched to host mode.
|
|
|
|
endif
|